Compton: backend=glx; add more opacity/blur exceptions

This commit is contained in:
Henrik Lissner 2020-01-03 06:44:14 -05:00
parent 792dcbb43a
commit a4b6ba9e42
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -11,11 +11,16 @@
fonts.fonts = [ pkgs.nerdfonts ]; fonts.fonts = [ pkgs.nerdfonts ];
services.compton = { services.compton = {
backend = "glx";
activeOpacity = "0.96"; activeOpacity = "0.96";
inactiveOpacity = "0.75"; inactiveOpacity = "0.75";
opacityRules = [ opacityRules = [
"100:class_g = 'Firefox'" "100:class_g = 'Firefox'"
"100:class_g = 'Gimp'" "100:class_g = 'Gimp'"
"100:class_g = 'inkscape'"
"100:class_g = 'aseprite'"
"100:class_g = 'krita'"
"100:class_g = 'Peek'"
"100:class_g = 'feh'" "100:class_g = 'feh'"
"100:class_g = 'mpv'" "100:class_g = 'mpv'"
]; ];
@ -28,6 +33,8 @@
blur-background-exclude = [ blur-background-exclude = [
"window_type = 'dock'" "window_type = 'dock'"
"window_type = 'desktop'" "window_type = 'desktop'"
"class_g = 'Peek'"
"_GTK_FRAME_EXTENTS@:c"
]; ];
}; };
}; };