compton improvements

This commit is contained in:
Nemo 2017-11-23 12:57:12 +05:30
parent 5c57b77e9e
commit 0ca48b61ef
1 changed files with 16 additions and 3 deletions

View File

@ -148,7 +148,8 @@ fade-out-step = 0.03;
# Specify a list of conditions of windows that should not be faded. # Specify a list of conditions of windows that should not be faded.
fade-exclude = [ fade-exclude = [
"name = 'poniesbox'" # "title = 'cava'",
"fullscreen"
]; ];
################################# #################################
@ -203,7 +204,16 @@ sw-opti = false;
unredir-if-possible = true; unredir-if-possible = true;
# Specify a list of conditions of windows that should always be considered focused. # 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. # Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
detect-transient = true; detect-transient = true;
@ -233,5 +243,8 @@ wintypes:
}; };
opacity-rule = [ opacity-rule = [
"99:class_g = 'Vlc'" "99:class_g = 'Vlc'",
"99:class_g = 'WorkFlowy'",
"99:class_g = 'cava'",
"99:fullscreen"
]; ];