117 lines
3.3 KiB
Plaintext
117 lines
3.3 KiB
Plaintext
backend = "glx";
|
||
glx-no-stencil = true;
|
||
glx-copy-from-front = false;
|
||
glx-no-rebind-pixmap = true;
|
||
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-mswc";
|
||
|
||
# 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 = true;
|
||
no-dock-shadow = true;
|
||
no-dnd-shadow = true;
|
||
clear-shadow = true;
|
||
shadow-radius = 4;
|
||
shadow-offset-x = -3;
|
||
shadow-offset-y = -3;
|
||
shadow-opacity = 0.6;
|
||
# shadow-red
|
||
# shadow-green
|
||
# shadow-blue
|
||
shadow-exclude = [
|
||
"n:e:Notification",
|
||
"class_i = 'presel_feedback'",
|
||
"g:e:Conky"
|
||
];
|
||
shadow-ignore-shaped = true;
|
||
|
||
|
||
|
||
########################################
|
||
#
|
||
# Opacity
|
||
#
|
||
########################################
|
||
|
||
menu-opacity = 0.95;
|
||
active-opacity = 1.00;
|
||
inactive-opacity = 0.90;
|
||
inactive-dim = 0.25;
|
||
# frame-opacity = 0.8;
|
||
inactive-opacity-override = false;
|
||
opacity-rule = [
|
||
"80:class_g = 'Bspwm' && class_i = 'presel_feedback'",
|
||
"96:class_g = 'URxvt'"
|
||
];
|
||
alpha-step = 0.06
|
||
|
||
# Fading
|
||
fading = true;
|
||
fade-delta = 5;
|
||
fade-in-step = 0.04;
|
||
fade-out-step = 0.08;
|
||
# no-fading-openclose = true;
|
||
|
||
# Other
|
||
detect-rounded-corners = true;
|
||
#mark-wmwin-focused = true;
|
||
#mark-ovredir-focused = true;
|
||
#refresh-rate = 0;
|
||
|
||
focus-exclude = [ "class_g = 'love'" ];
|
||
|
||
# Window type settings
|
||
wintypes:
|
||
{
|
||
tooltip = { fade = true; shadow = false; opacity = 0.85; focus = true; };
|
||
};
|
||
|
||
|