Created
October 28, 2019 20:30
-
-
Save j1ah0ng/7f9345506f84389d7f978e31c6b17c95 to your computer and use it in GitHub Desktop.
Not that disgusting compton configuration for people who like background blurs uwu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rendering backend | |
backend = "glx"; | |
glx-no-stencil = true; | |
glx-copy-from-front = false; | |
glx-swap-method = "undefined"; | |
glx-use-gpushader4 = true; | |
# shadows | |
shadow = true; | |
no-dnd-shadow = true; | |
no-dock-shadow = true; | |
clear-shadow = true; | |
shadow-radius = 16; | |
shadow-offset-x = -23; | |
shadow-offset-y = -23; | |
shadow-opacity = 0.75; | |
# Blur background of transparent windows. Bad performance with X Render backend. | |
# GLX backend is preferred. | |
blur-method = "kawase"; | |
blur-background = true; | |
# Blur background of opaque windows with transparent frames as well. | |
blur-background-frame = false; | |
# Do not let blur radius adjust based on window opacity. | |
blur-background-fixed = true; | |
blur-background-exclude = [ | |
"window_type = 'desktop'", | |
"name = 'slop'", | |
# "window_type = 'dock'", | |
"_NET_WM_NAME@:s *?= 'Firefox'", | |
"_GTK_FRAME_EXTENS@:c" | |
]; | |
opacity-rule = [ | |
"85:class_g = 'kitty' && focused", | |
"75:class_g = 'kitty' && !focused", | |
# "85:class_g = 'i3bar'", | |
"85:class_g = 'Dunst'", | |
"85:class_g = 'Rofi'", | |
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" | |
]; | |
detect-client-opacity = true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment