166 lines
3.4 KiB
Plaintext
166 lines
3.4 KiB
Plaintext
|
|
#################################
|
|
#
|
|
# Backend
|
|
#
|
|
#################################
|
|
|
|
# Backend to use: "xrender" or "glx".
|
|
# GLX backend is typically much faster but depends on a sane driver.
|
|
|
|
# backend = "xrender";
|
|
# backend = "xr_glx_hybrid";
|
|
backend = "glx";
|
|
vsync = true;
|
|
opengl-swc = true;
|
|
|
|
glx-copy-from-front = true;
|
|
glx-swap-method = 2;
|
|
xrender-sync = true;
|
|
xrender-sync-fence = true;
|
|
|
|
#################################
|
|
#
|
|
# GLX backend
|
|
#
|
|
#################################
|
|
|
|
glx-no-stencil = true;
|
|
|
|
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.
|
|
# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
|
|
# but a 20% increase when only 1/4 is.
|
|
# My tests on nouveau show terrible slowdown.
|
|
# Useful with --glx-swap-method, as well.
|
|
glx-copy-from-front = false;
|
|
|
|
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
|
|
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
|
|
# May break VSync and is not available on some drivers.
|
|
# Overrides --glx-copy-from-front.
|
|
# glx-use-copysubbuffermesa = true;
|
|
|
|
# GLX backend: Avoid rebinding pixmap on window damage.
|
|
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
|
|
# Recommended if it works.
|
|
|
|
glx-no-rebind-pixmap = true;
|
|
|
|
|
|
use-damage = false;
|
|
|
|
# Disabled to avoid artifacts painting under blur transparent windows.
|
|
|
|
#################################
|
|
#
|
|
# Shadows
|
|
#
|
|
#################################
|
|
|
|
# Enabled client-side shadows on windows.
|
|
shadow = false;
|
|
|
|
#################################
|
|
#
|
|
# Opacity
|
|
#
|
|
#################################
|
|
|
|
|
|
inactive-opacity = 1;
|
|
active-opacity = 1;
|
|
frame-opacity = 1;
|
|
inactive-opacity-override = false;
|
|
|
|
|
|
# Desaturate and darken the inactive windows
|
|
# Dim inactive windows. (0.0 - 1.0)
|
|
|
|
#inactive-dim = 0.2;
|
|
#inactive-dim-fixed = true;
|
|
|
|
|
|
|
|
|
|
# Do not let dimness adjust based on window opacity.
|
|
# inactive-dim-fixed = true;
|
|
|
|
|
|
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
|
|
|
blur-background = false;
|
|
#################################
|
|
#
|
|
# Fading
|
|
#
|
|
#################################
|
|
|
|
fading = false;
|
|
# fade-delta = 30;
|
|
#fade-in-step = 0.03;
|
|
#fade-out-step = 0.03;
|
|
fade-in-step = 0.07;
|
|
fade-out-step = 0.07;
|
|
# no-fading-openclose = true;
|
|
# no-fading-destroyed-argb = true;
|
|
fade-exclude = [ ];
|
|
|
|
|
|
|
|
#################################
|
|
#
|
|
# OTHER CONFIG
|
|
#
|
|
#################################
|
|
|
|
log-level = "warn";
|
|
# log-file = "/path/to/your/log/file";
|
|
|
|
|
|
mark-wmwin-focused = true;
|
|
mark-ovredir-focused = true;
|
|
# use-ewmh-active-win = true;
|
|
detect-rounded-corners = true;
|
|
detect-client-opacity = true;
|
|
|
|
|
|
#vsync = true;
|
|
|
|
|
|
# sw-opti = true;
|
|
# unredir-if-possible = true;
|
|
# unredir-if-possible-delay = 5000;
|
|
# unredir-if-possible-exclude = [ ];
|
|
|
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
|
|
|
detect-transient = true;
|
|
detect-client-leader = true;
|
|
invert-color-include = [ ];
|
|
|
|
resize-damage = 2;
|
|
|
|
|
|
|
|
|
|
|
|
#################################
|
|
#
|
|
# Window type settings
|
|
#
|
|
#################################
|
|
wintypes:
|
|
{
|
|
dock = { shadow = true; }
|
|
dnd = { shadow = false; }
|
|
popup_menu = { opacity = 1; }
|
|
dropdown_menu = { opacity = 1; }
|
|
|
|
# This avoid problems with transparent windows while use-damage = true;.
|
|
# normal = { full-shadow = true;};
|
|
|
|
# tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
|
|
|
|
|
|
|
}; |