From 9cb5c1782b4f3f23aaa322e15d1abab817a8c105 Mon Sep 17 00:00:00 2001 From: He4eT Date: Thu, 19 Jan 2023 13:19:43 +0300 Subject: [PATCH] i3: compton: no shadows for firefox and telegram --- i3/config | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/i3/config b/i3/config index 0da2144..801133b 100644 --- a/i3/config +++ b/i3/config @@ -6,7 +6,14 @@ exec --no-startup-id polybar top exec --no-startup-id setxkbmap -option 'grp:caps_toggle' # compton: Xubuntu 20.04 ThinkPad E14 -exec --no-startup-id compton -cb -o 1 --vsync --backend xr_glx_hybrid --vsync-use-glfinish --shadow-exclude 'x <= 0 && x2 >= 1920 && y <= 30 && y2 >= 1020' --shadow-exclude='class_g ?= "i3-frame"' +exec --no-startup-id compton \ + -cb -o 1 \ + --vsync --backend xr_glx_hybrid \ + --vsync-use-glfinish \ + --shadow-exclude='x <= 0 && x2 >= 1920 && y <= 30 && y2 >= 1020' \ + --shadow-exclude='class_g ?= "i3-frame"' \ + --shadow-exclude='class_g = "firefox" && argb' \ + --shadow-exclude='class_g = "TelegramDesktop" && argb' \ # compton: Xubuntu 18.04 Samsung [backup] # exec --no-startup-id ~/.local/bin/compton -cb --shadow-exclude '_NET_WM_NAME@:s = "rofi"' -o 1 --shadow-exclude 'x <= 0 && x2 >= 1920 && y <= 30 && y2 >= 1020' --backend glx --vsync opengl-swc --unredir-if-possible