2012-09-25 10:19:20 +08:00
|
|
|
# Shadow
|
|
|
|
shadow = true;
|
2012-09-28 09:10:34 +08:00
|
|
|
shadow-radius = 7;
|
|
|
|
shadow-offset-x = -7;
|
|
|
|
shadow-offset-y = -7;
|
2018-12-22 06:49:42 +08:00
|
|
|
log-level = "warn";
|
|
|
|
# log-file = "/path/to/your/log/file";
|
2012-09-28 09:10:34 +08:00
|
|
|
# shadow-opacity = 0.7;
|
|
|
|
# shadow-red = 0.0;
|
|
|
|
# shadow-green = 0.0;
|
|
|
|
# shadow-blue = 0.0;
|
2014-04-19 19:41:26 +08:00
|
|
|
shadow-exclude = [
|
|
|
|
"name = 'Notification'",
|
|
|
|
"class_g = 'Conky'",
|
|
|
|
"class_g ?= 'Notify-osd'",
|
|
|
|
"class_g = 'Cairo-clock'",
|
|
|
|
"_GTK_FRAME_EXTENTS@:c"
|
|
|
|
];
|
2012-09-25 10:19:20 +08:00
|
|
|
# shadow-exclude = "n:e:Notification";
|
2013-08-26 22:00:53 +08:00
|
|
|
# shadow-exclude-reg = "x10+0+0";
|
|
|
|
# xinerama-shadow-crop = true;
|
2012-09-25 10:19:20 +08:00
|
|
|
|
|
|
|
# Opacity
|
|
|
|
inactive-opacity = 0.8;
|
2013-03-30 11:46:32 +08:00
|
|
|
# active-opacity = 0.8;
|
2012-09-25 10:19:20 +08:00
|
|
|
frame-opacity = 0.7;
|
2012-10-03 21:13:34 +08:00
|
|
|
inactive-opacity-override = false;
|
2012-12-05 12:43:34 +08:00
|
|
|
# inactive-dim = 0.2;
|
|
|
|
# inactive-dim-fixed = true;
|
2012-12-14 20:32:46 +08:00
|
|
|
# blur-background = true;
|
|
|
|
# blur-background-frame = true;
|
2016-09-05 01:24:24 +08:00
|
|
|
blur-kern = "3x3box";
|
|
|
|
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
2013-07-30 22:24:11 +08:00
|
|
|
# blur-background-fixed = true;
|
2014-04-19 19:41:26 +08:00
|
|
|
blur-background-exclude = [
|
|
|
|
"window_type = 'dock'",
|
|
|
|
"window_type = 'desktop'",
|
|
|
|
"_GTK_FRAME_EXTENTS@:c"
|
|
|
|
];
|
2013-10-01 23:20:22 +08:00
|
|
|
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
2012-09-25 10:19:20 +08:00
|
|
|
|
|
|
|
# Fading
|
|
|
|
fading = true;
|
2012-09-28 09:10:34 +08:00
|
|
|
# fade-delta = 30;
|
|
|
|
fade-in-step = 0.03;
|
|
|
|
fade-out-step = 0.03;
|
2012-09-26 21:40:48 +08:00
|
|
|
# no-fading-openclose = true;
|
2014-05-16 15:18:17 +08:00
|
|
|
# no-fading-destroyed-argb = true;
|
2013-04-21 22:30:22 +08:00
|
|
|
fade-exclude = [ ];
|
2012-09-25 10:19:20 +08:00
|
|
|
|
|
|
|
# Other
|
2016-09-05 01:24:24 +08:00
|
|
|
backend = "xrender";
|
2012-09-25 10:19:20 +08:00
|
|
|
mark-wmwin-focused = true;
|
2012-09-26 19:48:36 +08:00
|
|
|
mark-ovredir-focused = true;
|
2013-07-30 22:24:11 +08:00
|
|
|
# use-ewmh-active-win = true;
|
2012-10-01 10:34:40 +08:00
|
|
|
detect-rounded-corners = true;
|
2012-10-27 21:46:01 +08:00
|
|
|
detect-client-opacity = true;
|
Feature: #7: VSync
- Add VSync feature. 3 possible VSync methods available: "sw" (software,
not too reliable, but at least you have something to fallback to),
"drm" (using DRM_IOCTL_WAIT_VBLANK, should work only on DRI drivers),
"opengl" (using SGI_swap_control extension OpenGL, might work on more
drivers than the DRM method). "sw" and "opengl" are briefly tested,
"drm" received utterly no test (because I use the nVidia binary blob).
They are enabled with "--vsync sw" / "--vsync drm" / "--vsync opengl".
- Add --refresh-rate to let user specify a refresh rate for software
VSync, in case the automatic refresh rate detection does not work
well.
- Seemingly the automatic refresh rate detection using X RandR in
software VSync detects refresh rate incorrectly. Need further investigation.
- Fix a few bugs in fading timing.
- Add a workaround for client window detection on Fluxbox, as Fluxbox
(incorrectly?) sets the override-redirect flag upon all frame
windows.
- Software VSync adds dependency on librt (a part of glibc) for
nanosecond-level timing functions, and libXrandr for automatic refresh
rate detection; DRM VSync adds dependency on libdrm to use its drm.h,
but does not link to libdrm; OpenGL VSync adds dependency on libGL.
- Print timing information on DEBUG_REPAINT.
2012-10-08 10:20:01 +08:00
|
|
|
refresh-rate = 0;
|
2019-03-10 22:55:17 +08:00
|
|
|
vsync = true;
|
2013-07-30 22:24:11 +08:00
|
|
|
# sw-opti = true;
|
|
|
|
# unredir-if-possible = true;
|
2013-09-24 20:41:50 +08:00
|
|
|
# unredir-if-possible-delay = 5000;
|
|
|
|
# unredir-if-possible-exclude = [ ];
|
2013-07-30 22:24:11 +08:00
|
|
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
2012-12-12 12:01:51 +08:00
|
|
|
detect-transient = true;
|
|
|
|
detect-client-leader = true;
|
2013-01-12 22:21:35 +08:00
|
|
|
invert-color-include = [ ];
|
2013-07-30 22:24:11 +08:00
|
|
|
# resize-damage = 1;
|
2012-09-25 21:04:10 +08:00
|
|
|
|
2013-04-21 22:30:22 +08:00
|
|
|
# GLX backend
|
|
|
|
# glx-no-stencil = true;
|
|
|
|
# glx-no-rebind-pixmap = true;
|
|
|
|
glx-swap-method = "undefined";
|
2018-11-08 22:53:13 +08:00
|
|
|
# xrender-sync-fence = true;
|
2013-04-21 22:30:22 +08:00
|
|
|
|
2012-09-25 21:04:10 +08:00
|
|
|
# Window type settings
|
|
|
|
wintypes:
|
|
|
|
{
|
2018-11-10 03:56:05 +08:00
|
|
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
2018-12-04 21:44:16 +08:00
|
|
|
dock = { shadow = false; }
|
|
|
|
dnd = { shadow = false; }
|
|
|
|
popup_menu = { opacity = 0.8; }
|
|
|
|
dropdown_menu = { opacity = 0.8; }
|
2012-09-28 09:10:34 +08:00
|
|
|
};
|