helm/base/arch-desktop/config/compton.conf

123 lines
3.4 KiB
Plaintext
Raw Normal View History

backend = "glx";
# backend = "xrender";
2016-10-19 07:56:37 -07:00
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;
# glx-swap-method = "undefined";
2016-11-02 17:00:32 -07:00
# 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 doesnt
# 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";
# vsync = "none";
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.
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 = false;
2016-11-02 17:00:32 -07:00
# 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 = false;
2016-11-02 17:00:32 -07:00
########################################
#
# Shadows
#
########################################
2016-10-19 07:56:37 -07:00
shadow = true;
2016-10-19 07:56:37 -07:00
no-dock-shadow = true;
no-dnd-shadow = true;
clear-shadow = true;
shadow-radius = 4;
shadow-offset-x = -3;
shadow-offset-y = 0;
shadow-opacity = 0.15;
2016-10-19 07:56:37 -07:00
# shadow-red
# shadow-green
# shadow-blue
shadow-exclude = [
"n:e:Notification",
"class_i = 'Dunst'",
2016-11-02 17:00:32 -07:00
"class_i = 'presel_feedback'",
"g:e:Conky"
];
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
#
########################################
menu-opacity = 1;
active-opacity = 1;
inactive-opacity = 1;
2017-06-08 06:07:36 -07:00
# frame-opacity = 1.0;
inactive-dim = 0.15;
inactive-opacity-override = false;
opacity-rule = [
"80:class_g = 'Bspwm' && class_i = 'presel_feedback'"
];
2016-11-02 17:00:32 -07:00
alpha-step = 0.06
2016-10-19 07:56:37 -07:00
# Fading
2017-06-08 06:07:36 -07:00
fading = false;
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;
#mark-wmwin-focused = true;
#mark-ovredir-focused = true;
refresh-rate = 0;
2016-10-19 07:56:37 -07:00
focus-exclude = [
"class_g = 'love'",
"class_g = 'mpv'"
];
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
};