From 0ca48b61efa30c95b8633f1b4854a5922585dda6 Mon Sep 17 00:00:00 2001 From: Nemo Date: Thu, 23 Nov 2017 12:57:12 +0530 Subject: [PATCH] compton improvements --- files/i3/.compton.conf | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/files/i3/.compton.conf b/files/i3/.compton.conf index b97b49b..7d74a90 100644 --- a/files/i3/.compton.conf +++ b/files/i3/.compton.conf @@ -148,7 +148,8 @@ fade-out-step = 0.03; # Specify a list of conditions of windows that should not be faded. fade-exclude = [ - "name = 'poniesbox'" + # "title = 'cava'", + "fullscreen" ]; ################################# @@ -203,7 +204,16 @@ sw-opti = false; unredir-if-possible = true; # Specify a list of conditions of windows that should always be considered focused. -focus-exclude = [ ]; +focus-exclude = [ + "name *= 'rofi'", + "class_i = 'Popup'", + "class_g = 'mpv'", + "fullscreen", + "_NET_WM_STATE@:32a *= '_NET_WM_STATE_FULLSCREEN'", # fullscreen + "class_g = 'SDL_App'", # ffplay through bwrap + "class_g = 'Vlc'", # vlc + "!name ~= ''" +]; # Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time. detect-transient = true; @@ -233,5 +243,8 @@ wintypes: }; opacity-rule = [ - "99:class_g = 'Vlc'" + "99:class_g = 'Vlc'", + "99:class_g = 'WorkFlowy'", + "99:class_g = 'cava'", + "99:fullscreen" ]; \ No newline at end of file