diff --git a/compton.conf b/compton.conf new file mode 100644 index 0000000..9d75c2d --- /dev/null +++ b/compton.conf @@ -0,0 +1,40 @@ +# Inspired by (copied from) github.com/kbrgl/dotfiles + +# Shadow +shadow = true; # Enabled client-side shadows on windows. +no-dock-shadow = false; # Avoid drawing shadows on dock/panel windows. +no-dnd-shadow = false; # Don't draw shadows on DND windows. +clear-shadow = true; # Zero the part of the shadow's mask behind the window (experimental). +shadow-radius = 7; # The blur radius for shadows. (default 12) +shadow-offset-x = -12; # The left offset for shadows. (default -15) +shadow-offset-y = -7; # The top offset for shadows. (default -15) +shadow-opacity = 0.9; # The translucency for shadows. (default .75) +# shadow-red = 0.0; # Red color value of shadow. (0.0 - 1.0, defaults to 0) +# shadow-green = 0.0; # Green color value of shadow. (0.0 - 1.0, defaults to 0) +# shadow-blue = 0.0; # Blue color value of shadow. (0.0 - 1.0, defaults to 0) +# shadow-exclude = '!focused' ; # Exclude conditions for shadows. +shadow-exclude = "g:ei:Notify-osd"; +shadow-ignore-shaped = true; + +# Opacity +menu-opacity = 1.0; # The opacity for menus. (default 1.0) +inactive-opacity = 1.0; # Opacity of inactive windows. (0.1 - 1.0) +frame-opacity = 1.0; # Opacity of window titlebars and borders. (0.1 - 1.0) +inactive-opacity-override = true; # Inactive opacity set by 'inactive-opacity' overrides value of _NET_WM_OPACITY. +opacity-rule = [ "96:class_g = 'Emacs'", # 10% of transparency + "96:!focused && class_g = 'Conkeror'"] # as a bonus +# Fading +fading = true; # Fade windows during opacity changes. +fade-delta = 4; # The time between steps in a fade in milliseconds. (default 10). + +# Other +inactive-dim = 0; # Dim inactive windows. (0.0 - 1.0, defaults to 0). +mark-wmwin-focused = false; # Try to detect WM windows and mark them as active. +mark-ovredir-focused = false; +detect-rounded-corners = false; + +# Window type settings +wintypes: +{ + tooltip = { fade = true; shadow = false; opacity = 0.75; }; +};