2016-10-19 07:56:37 -07:00
|
|
|
|
backend = "glx";
|
|
|
|
|
glx-no-stencil = true;
|
2016-11-02 17:00:32 -07:00
|
|
|
|
glx-copy-from-front = false;
|
2016-10-19 07:56:37 -07:00
|
|
|
|
glx-no-rebind-pixmap = true;
|
2016-11-02 17:00:32 -07:00
|
|
|
|
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.)
|
2016-12-15 09:40:58 -08:00
|
|
|
|
vsync = "opengl-mswc";
|
2016-11-02 17:00:32 -07:00
|
|
|
|
|
|
|
|
|
# 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.
|
2017-03-16 12:11:39 -07:00
|
|
|
|
unredir-if-possible = true;
|
2016-11-02 17:00:32 -07:00
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
#
|
|
|
|
|
########################################
|
2016-10-19 07:56:37 -07:00
|
|
|
|
|
2017-03-16 12:11:39 -07:00
|
|
|
|
shadow = false;
|
2016-10-19 07:56:37 -07:00
|
|
|
|
no-dock-shadow = true;
|
|
|
|
|
no-dnd-shadow = true;
|
|
|
|
|
clear-shadow = true;
|
2016-12-15 09:41:12 -08:00
|
|
|
|
shadow-radius = 4;
|
|
|
|
|
shadow-offset-x = -3;
|
|
|
|
|
shadow-offset-y = -3;
|
|
|
|
|
shadow-opacity = 0.6;
|
2016-10-19 07:56:37 -07:00
|
|
|
|
# shadow-red
|
|
|
|
|
# shadow-green
|
|
|
|
|
# shadow-blue
|
2016-10-27 06:35:10 -07:00
|
|
|
|
shadow-exclude = [
|
|
|
|
|
"n:e:Notification",
|
2016-11-02 17:00:32 -07:00
|
|
|
|
"class_i = 'presel_feedback'",
|
|
|
|
|
"g:e:Conky"
|
2016-10-27 06:35:10 -07:00
|
|
|
|
];
|
2016-11-02 17:00:32 -07:00
|
|
|
|
shadow-ignore-shaped = true;
|
2016-10-19 07:56:37 -07:00
|
|
|
|
|
2016-11-02 17:00:32 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
########################################
|
|
|
|
|
#
|
2016-10-19 07:56:37 -07:00
|
|
|
|
# Opacity
|
2016-11-02 17:00:32 -07:00
|
|
|
|
#
|
|
|
|
|
########################################
|
|
|
|
|
|
2016-10-19 07:56:37 -07:00
|
|
|
|
menu-opacity = 0.95;
|
2017-01-17 20:14:30 -08:00
|
|
|
|
active-opacity = 1.00;
|
|
|
|
|
inactive-opacity = 0.90;
|
|
|
|
|
inactive-dim = 0.25;
|
2016-10-19 07:56:37 -07:00
|
|
|
|
# frame-opacity = 0.8;
|
2017-01-17 20:14:30 -08:00
|
|
|
|
inactive-opacity-override = false;
|
2016-10-27 06:35:10 -07:00
|
|
|
|
opacity-rule = [
|
2017-01-17 20:14:30 -08:00
|
|
|
|
"80:class_g = 'Bspwm' && class_i = 'presel_feedback'",
|
|
|
|
|
"96:class_g = 'URxvt'"
|
2016-10-27 06:35:10 -07:00
|
|
|
|
];
|
2016-11-02 17:00:32 -07:00
|
|
|
|
alpha-step = 0.06
|
2016-10-19 07:56:37 -07:00
|
|
|
|
|
|
|
|
|
# Fading
|
|
|
|
|
fading = true;
|
2016-11-02 17:00:32 -07:00
|
|
|
|
fade-delta = 5;
|
|
|
|
|
fade-in-step = 0.04;
|
|
|
|
|
fade-out-step = 0.08;
|
2016-10-19 07:56:37 -07:00
|
|
|
|
# no-fading-openclose = true;
|
|
|
|
|
|
|
|
|
|
# Other
|
|
|
|
|
detect-rounded-corners = true;
|
2016-12-25 11:16:34 -08:00
|
|
|
|
#mark-wmwin-focused = true;
|
|
|
|
|
#mark-ovredir-focused = true;
|
|
|
|
|
#refresh-rate = 0;
|
2016-10-19 07:56:37 -07:00
|
|
|
|
|
2017-03-16 12:11:39 -07:00
|
|
|
|
focus-exclude = [
|
|
|
|
|
"class_g = 'love'",
|
|
|
|
|
"class_g = 'mpv'"
|
|
|
|
|
];
|
2017-01-17 20:14:30 -08:00
|
|
|
|
|
2016-10-19 07:56:37 -07:00
|
|
|
|
# Window type settings
|
|
|
|
|
wintypes:
|
|
|
|
|
{
|
2016-11-02 17:00:32 -07:00
|
|
|
|
tooltip = { fade = true; shadow = false; opacity = 0.85; focus = true; };
|
2016-10-19 07:56:37 -07:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|