dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit bf0f2f626e63ad12d333ce9d2976f01c71dd1f9b
parent 3f9700865c7edbbc45d12102ced32b255e716c64
Author: Chris Bracken <chris@bracken.jp>
Date:   Mon,  9 Oct 2023 17:05:15 -0700

Update compton.conf

Add more settings (defaulted) and comment out the driver settings.
Machines with GLX support can enable these.

Diffstat:
M.config/compton.conf | 60+++++++++++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 51 insertions(+), 9 deletions(-)

diff --git a/.config/compton.conf b/.config/compton.conf @@ -1,13 +1,55 @@ -# Basic configuration. -backend = "glx"; -vsync = "opengl-swc"; - -glx-copy-from-front = true; -glx-swap-method = 2; +# Driver +#backend = "glx"; +#vsync = "opengl"; +glx-copy-from-front = true; # Copy unmodified regions from front buffer instead of full redraw. +glx-swap-method = 2; # Double-buffered exchange. xrender-sync = true; xrender-sync-fence = true; -# Transparancy settings for i3. -opacity-rule = [ - "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" +# Shadow +shadow = false; # Client-side shadows on windows. +no-dock-shadow = true; # Don't draw shadows on dock/panel windows. +no-dnd-shadow = true; # Don't draw shadows on DND windows. +clear-shadow = false; # Zero the part of the shadow's mask behind the window (experimental). +shadow-ignore-shaped = false; # Avoid drawing shadow on shaped windows (see also: --detect-rounded-corners) +shadow-radius = 12; # Blur radius for shadows. (default 12) +shadow-offset-x = -15; # Left offset for shadows. (default -15) +shadow-offset-y = -15; # Top offset for shadows. (default -15) + +# Exclude conditions for shadows. +shadow-exclude = [ + "n:e:Notification", + "class_g = 'Gnome-screenshot'", + "class_g = 'Gnome-control-center'", + "class_g = 'Nautilus'" ]; + +# Opacity +shadow-opacity = 0.7; # The translucency for shadows. (default .75) +active-opacity = 1.0; +menu-opacity = 1.0; # The opacity for menus. (default 1.0) +frame-opacity = 1.0; # Opacity of window titlebars and borders. (0.1 - 1.0) +inactive-opacity = 1.0; # Opacity of inactive windows. (0.1 - 1.0) +inactive-opacity-override = true; # Override _NET_WM_OPACITY with inactive-opacity. + +inactive-dim = 0.0; # Dim inactive windows. (0.0 - 1.0) +inactive-dim-fixed = true; # Do not adjust dimness based on window opacity. +blur-background = false; # Do not blur transparent window background. +# Fading +fading = true; # Fade windows during opacity changes. +fade-delta = 12; # The time between steps in a fade in milliseconds. (default 10). +fade-in-step = 0.15; # Opacity change between steps while fading in. (default 0.028). +fade-out-step = 0.15; # Opacity change between steps while fading out. (default 0.03). +no-fading-openclose = false; # Fade windows in/out when opening/closing. + +# Other +#inactive-dim = 0.1; # Dim inactive windows. (0.0 - 1.0, defaults to 0). +mark-wmwin-focused = true; # Try to detect WM windows and mark them as active. +mark-ovredir-focused = true; +detect-rounded-corners = true; + +# Window type settings +wintypes: +{ + tooltip = { fade = true; shadow = false; opacity = 0.75; }; +};