mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
compton: improve blur on fading/exiting windows
This commit is contained in:
parent
c164577bd7
commit
fc4560b31f
@ -25,17 +25,14 @@ inactive-opacity-override = true; # Let inactive opacity set by 'inactive-opacit
|
||||
opacity-rule = [
|
||||
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||
];
|
||||
alpha-step = 0.06; # XRender backend: Step size for alpha pictures. Increasing
|
||||
alpha-step = 0.02; # XRender backend: Step size for alpha pictures. Increasing
|
||||
# it may result in less X resource usage,
|
||||
# Yet f ading may look bad.
|
||||
# inactive-dim = 0.2; # Dim inactive windows. (0.0 - 1.0)
|
||||
#inactive-dim-fixed = true; # Do not let dimness adjust based on window opacity.
|
||||
inactive-opacity-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
|
||||
blur-background = true; # Blur background of transparent windows.
|
||||
blur-background-exclude = [ "class_g = 'Peek'", "class_g = 'Onboard'", "class_g = 'slop'" ];
|
||||
blur-background-frame = false; # Blur background of opaque windows with transparent
|
||||
# frames as well.
|
||||
blur-background-fixed = true; # Do not let blur radius adjust based on window opacity.
|
||||
blur-background-fixed = false; # Do not let blur radius adjust based on window opacity.
|
||||
# Exclude conditions for background blur.
|
||||
# python compton-convgen.py --dump-compton gaussian 9 -f=sigma=10
|
||||
blur-kern = "9,9,0.852144,0.882497,0.904837,0.918512,0.923116,0.918512,0.904837,0.882497,0.852144,0.882497,0.913931,0.937067,0.951229,0.955997,0.951229,0.937067,0.913931,0.882497,0.904837,0.937067,0.960789,0.975310,0.980199,0.975310,0.960789,0.937067,0.904837,0.918512,0.951229,0.975310,0.990050,0.995012,0.990050,0.975310,0.951229,0.918512,0.923116,0.955997,0.980199,0.995012,0.995012,0.980199,0.955997,0.923116,0.918512,0.951229,0.975310,0.990050,0.995012,0.990050,0.975310,0.951229,0.918512,0.904837,0.937067,0.960789,0.975310,0.980199,0.975310,0.960789,0.937067,0.904837,0.882497,0.913931,0.937067,0.951229,0.955997,0.951229,0.937067,0.913931,0.882497,0.852144,0.882497,0.904837,0.918512,0.923116,0.918512,0.904837,0.882497,0.852144"
|
||||
@ -43,7 +40,7 @@ blur-kern = "9,9,0.852144,0.882497,0.904837,0.918512,0.923116,0.918512,0.904837,
|
||||
# Fading
|
||||
fading = true; # Fade windows during opacity changes.
|
||||
# fade-delta = 16; # The time between steps in a fade in milliseconds. (default 10).
|
||||
fade-in-step = 0.025; # Opacity change between steps while fading in. (default 0.028).
|
||||
fade-in-step = 0.022; # Opacity change between steps while fading in. (default 0.028).
|
||||
fade-out-step = 0.02; # Opacity change between steps while fading out. (default 0.03).
|
||||
# no-fading-openclose = true; # Avoid fade windows in/out when opening/closing.
|
||||
# fade-exclude = [ ]; # Exclude conditions for fading.
|
||||
@ -78,7 +75,7 @@ invert-color-include = [ ]; # Conditions for windows to be painted with inverte
|
||||
glx-no-stencil = true; # Recommended.
|
||||
glx-copy-from-front = false; # Useful with --glx-swap-method,
|
||||
# glx-use-copysubbuffermesa = true; # Recommended if it works. Breaks VSync.
|
||||
# glx-no-rebind-pixmap = true; # Recommended if it works.
|
||||
glx-no-rebind-pixmap = true; # Recommended if it works.
|
||||
glx-swap-method = "undefined"; # See man page.
|
||||
|
||||
# Window type settings
|
||||
|
Loading…
Reference in New Issue
Block a user