compton: flesh out config
This commit is contained in:
parent
1e3098f81f
commit
f85ec02465
|
@ -1,10 +1,59 @@
|
|||
backend = "glx";
|
||||
paint-on-overlay = true;
|
||||
glx-no-stencil = true;
|
||||
glx-copy-from-front = false;
|
||||
glx-no-rebind-pixmap = true;
|
||||
#vsync = "opengl-swc";
|
||||
glx-swap-method = "undefined";
|
||||
|
||||
# Set VSync method. VSync methods currently available:
|
||||
# + none: No VSync
|
||||
# + drm: VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some drivers.
|
||||
# + opengl: Try to VSync with SGI_video_sync OpenGL extension. Only work on some
|
||||
# drivers.
|
||||
# + opengl-oml: Try to VSync with OML_sync_control OpenGL extension. Only work on some
|
||||
# drivers.
|
||||
# + opengl-swc: Try to VSync with SGI_swap_control OpenGL extension. Only work on some
|
||||
# drivers. Works only with GLX backend. Known to be most effective on many drivers.
|
||||
# Does not actually control paint timing, only buffer swap is affected, so it doesn’t
|
||||
# have the effect of --sw-opti unlike other methods. Experimental.
|
||||
# + opengl-mswc: Try to VSync with MESA_swap_control OpenGL extension. Basically the
|
||||
# same as opengl-swc above, except the extension we use.
|
||||
# (Note some VSync methods may not be enabled at compile time.)
|
||||
vsync = "opengl-swc";
|
||||
|
||||
# Limit compton to repaint at most once every 1 / refresh_rate second to boost
|
||||
# performance. This should not be used with --vsync drm/opengl/opengl-oml as they
|
||||
# essentially does --sw-opti's job already, unless you wish to specify a lower refresh
|
||||
# rate than the actual value.
|
||||
sw-opti = false;
|
||||
|
||||
# Painting on X Composite overlay window. Recommended.
|
||||
paint-on-overlay = true;
|
||||
|
||||
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
|
||||
# Reported to have no effect, though.
|
||||
dbe = false;
|
||||
|
||||
# Unredirect all windows if a full-screen opaque window is detected, to maximize
|
||||
# performance for full-screen windows, like games. Known to cause flickering when
|
||||
# redirecting/unredirecting windows. paint-on-overlay may make the flickering less
|
||||
# obvious.
|
||||
unredir-if-possible = false;
|
||||
|
||||
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused
|
||||
# at the same time.
|
||||
detect-transient = true;
|
||||
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused
|
||||
# at the same time. WM_TRANSIENT_FOR has higher priority if --detect-transient is
|
||||
# enabled, too.
|
||||
detect-client-leader = true;
|
||||
|
||||
|
||||
########################################
|
||||
#
|
||||
# Shadows
|
||||
#
|
||||
########################################
|
||||
|
||||
# Shadow
|
||||
shadow = true;
|
||||
no-dock-shadow = true;
|
||||
no-dnd-shadow = true;
|
||||
|
@ -12,16 +61,25 @@ clear-shadow = true;
|
|||
shadow-radius = 3;
|
||||
shadow-offset-x = -4;
|
||||
shadow-offset-y = -4;
|
||||
shadow-opacity = 0.15;
|
||||
shadow-opacity = 0.25;
|
||||
# shadow-red
|
||||
# shadow-green
|
||||
# shadow-blue
|
||||
shadow-exclude = [
|
||||
"n:e:Notification",
|
||||
"class_i = 'presel_feedback'"
|
||||
"class_i = 'presel_feedback'",
|
||||
"g:e:Conky"
|
||||
];
|
||||
shadow-ignore-shaped = true;
|
||||
|
||||
|
||||
|
||||
########################################
|
||||
#
|
||||
# Opacity
|
||||
#
|
||||
########################################
|
||||
|
||||
menu-opacity = 0.95;
|
||||
inactive-opacity = 0.96;
|
||||
# frame-opacity = 0.8;
|
||||
|
@ -29,12 +87,13 @@ inactive-opacity-override = true;
|
|||
opacity-rule = [
|
||||
"10:class_g = 'Bspwm' && class_i = 'presel_feedback'"
|
||||
];
|
||||
alpha-step = 0.06
|
||||
|
||||
# Fading
|
||||
fading = true;
|
||||
# fade-delta = 30;
|
||||
fade-in-step = 0.06;
|
||||
fade-out-step = 0.06;
|
||||
fade-delta = 5;
|
||||
fade-in-step = 0.04;
|
||||
fade-out-step = 0.08;
|
||||
# no-fading-openclose = true;
|
||||
|
||||
# Other
|
||||
|
@ -42,11 +101,12 @@ fade-out-step = 0.06;
|
|||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-rounded-corners = true;
|
||||
refresh-rate = 0;
|
||||
|
||||
# Window type settings
|
||||
wintypes:
|
||||
{
|
||||
tooltip = { fade = true; shadow = false; opacity = 0.85; };
|
||||
tooltip = { fade = true; shadow = false; opacity = 0.85; focus = true; };
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue