[compton] Disable shadows and tweak fade parameters
For a smoother desktop
This commit is contained in:
parent
f58514b1ef
commit
b66b1f1ff5
1 changed files with 6 additions and 5 deletions
|
@ -56,7 +56,7 @@ glx-swap-method = "undefined";
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
# Enabled client-side shadows on windows.
|
# Enabled client-side shadows on windows.
|
||||||
shadow = true;
|
shadow = false;
|
||||||
# Don't draw shadows on DND windows.
|
# Don't draw shadows on DND windows.
|
||||||
no-dnd-shadow = true;
|
no-dnd-shadow = true;
|
||||||
# Avoid drawing shadows on dock/panel windows.
|
# Avoid drawing shadows on dock/panel windows.
|
||||||
|
@ -103,6 +103,7 @@ shadow-opacity = 0.5;
|
||||||
shadow-exclude = [
|
shadow-exclude = [
|
||||||
"class_g = 'i3-frame'",
|
"class_g = 'i3-frame'",
|
||||||
"class_i = 'rofi'",
|
"class_i = 'rofi'",
|
||||||
|
"class_g = 'Polybar'",
|
||||||
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -155,11 +156,11 @@ blur-background-exclude = [
|
||||||
# Fade windows during opacity changes.
|
# Fade windows during opacity changes.
|
||||||
fading = true;
|
fading = true;
|
||||||
# The time between steps in a fade in milliseconds. (default 10).
|
# The time between steps in a fade in milliseconds. (default 10).
|
||||||
fade-delta = 3;
|
fade-delta = 10;
|
||||||
# Opacity change between steps while fading in. (default 0.028).
|
# Opacity change between steps while fading in. (default 0.028).
|
||||||
fade-in-step = 0.05;
|
fade-in-step = 0.09;
|
||||||
# Opacity change between steps while fading out. (default 0.03).
|
# Opacity change between steps while fading out. (default 0.03).
|
||||||
fade-out-step = 0.05;
|
fade-out-step = 0.06;
|
||||||
# Fade windows in/out when opening/closing
|
# Fade windows in/out when opening/closing
|
||||||
#no-fading-openclose = true;
|
#no-fading-openclose = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue