From b4174758fd6cb6f3a0d97f7039262be92f21ddbd Mon Sep 17 00:00:00 2001 From: kageru Date: Mon, 8 Apr 2019 16:07:37 +0200 Subject: [PATCH] updated compton.conf with new transparency rules --- .config/compton.conf | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.config/compton.conf b/.config/compton.conf index be916bf..3d12568 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -14,9 +14,9 @@ blur-background = true; #blur-kern = "7x7box"; blur-kern = "11,11,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; fading = true; -fade-delta = 6; -fade-in-step = 0.04; -fade-out-step = 0.04; +fade-delta = 10; +fade-in-step = 0.06; +fade-out-step = 0.06; fade-exclude = [ "name = 'mpv'", "class_g = 'chromium'" ]; backend = "glx"; mark-wmwin-focused = true; @@ -24,7 +24,6 @@ mark-ovredir-focused = true; detect-client-opacity = true; unredir-if-possible = false; glx-no-stencil = true; -#glx-swap-method = -1; refresh-rate = 0; vsync = "opengl-swc"; dbe = false; @@ -36,10 +35,13 @@ glx-copy-from-front = false; glx-swap-method = "undefined"; opacity-rule = [ "100:class_g = 'polybar'", - "94:class_g = 'St' && focused", - "86:class_g = 'St' && !focused" + "90:class_g = 'St' && focused", + "100:name *?= 'chromium'", + "100:class_g = 'Firefox'", + "100:class_g *?= 'mpv'", + "80:class_g = 'St' && !focused", + "70:class_g *?= 'rofi'" ]; -#opacity-rule = [ "20:class_g = 'polybar'", "99:name *?= 'Call'", "99:name *?= 'chromium'", "99:class_g *?= 'mpv'", "99:name *?= 'Conky'", "99:class_g = 'Darktable'", "50:class_g = 'Dmenu'", "99:name *?= 'Event'", "99:class_g = 'Firefox'", "99:class_g = 'GIMP'", "99:name *?= 'Image'", "99:class_g = 'Lazpaint'", "99:class_g = 'Midori'", "99:name *?= 'Minitube'", "99:class_g = 'Mousepad'", "99:name *?= 'MuseScore'", "90:name *?= 'Page Info'", "99:name *?= 'Pale Moon'", "90:name *?= 'Panel'", "99:class_g = 'Pinta'", "90:name *?= 'Restart'", "99:name *?= 'sudo'", "99:name *?= 'Screenshot'", "99:class_g = 'Viewnior'", "99:class_g = 'VirtualBox'", "99:name *?= 'VLC'", "99:name *?= 'Write'", "100:class_g = 'URxvt' && !_NET_WM_STATE@:32a", "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" ]; wintypes : { tooltip :