diff options
Diffstat (limited to '.config/picom.conf')
-rw-r--r-- | .config/picom.conf | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/.config/picom.conf b/.config/picom.conf new file mode 100644 index 0000000..80f3804 --- /dev/null +++ b/.config/picom.conf @@ -0,0 +1,93 @@ +# Shadows +shadow = false; +shadow-radius = 20; +shadow-spread = 10; +shadow-offset-x = -20; +shadow-offset-y = -20; +shadow-opacity = 0.4; + +shadow-exclude = [ + "class_g = 'dmenu'", + "class_g = 'spotify'", + "_GTK_FRAME_EXTENTS@:c", + "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" +]; + +#Corners +corner-radius = 4; +rounded-corners-exclude = [ + "class_g = 'dmenu'" +]; + +# Fading +fading = true; +fade-delta = 5; +fade-in-step = 0.056; +fade-out-step = 0.06; + +# Other +vsync = false; +dbe = false; +backend = "glx"; + +################################# +# Transparency / Opacity # +################################# + + +# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) +# inactive-opacity = 1 +inactive-opacity = 0.8; + +# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) +# frame-opacity = 1.0 +frame-opacity = 0.9; + +# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows. +# inactive-opacity-override = true +inactive-opacity-override = false; + +# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) +# active-opacity = 1.0 + +# Dim inactive windows. (0.0 - 1.0, defaults to 0.0) +# inactive-dim = 0.0 + +# Specify a list of conditions of windows that should never be considered focused. +# focus-exclude = [] +focus-exclude = [ "class_g = 'Cairo-clock'" ]; + +# Use fixed inactive dim value, instead of adjusting according to window opacity. +# inactive-dim-fixed = 1.0 + +# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, +# like `50:name *= "Firefox"`. picom-trans is recommended over this. +# Note we don't make any guarantee about possible conflicts with other +# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. +# example: +# opacity-rule = [ "80:class_g = 'URxvt'" ]; +# +# opacity-rule = [] + +blur-background = true +blur-background-frame = true + +blur-background-fixed = true + + +# Specify the blur convolution kernel, with the following format: +# example: +# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; +# +# blur-kern = "" +blur-kern = "3x3box"; + + +# Exclude conditions for background blur. +# blur-background-exclude = [] +blur-background-exclude = [ + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" +]; + |