2012-09-25 10:19:20 +08:00
|
|
|
# Shadow
|
|
|
|
shadow = true;
|
|
|
|
no-dnd-shadow = true;
|
|
|
|
no-dock-shadow = true;
|
|
|
|
clear-shadow = true;
|
2012-09-28 09:10:34 +08:00
|
|
|
shadow-radius = 7;
|
|
|
|
shadow-offset-x = -7;
|
|
|
|
shadow-offset-y = -7;
|
|
|
|
# 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
|
|
|
|
menu-opacity = 0.8;
|
|
|
|
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-10-13 18:46:59 +08:00
|
|
|
alpha-step = 0.06;
|
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;
|
2012-10-26 11:12:28 +08:00
|
|
|
vsync = "none";
|
2012-10-27 21:46:01 +08:00
|
|
|
dbe = false;
|
2013-07-30 22:24:11 +08:00
|
|
|
paint-on-overlay = true;
|
|
|
|
# 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";
|
2013-07-30 22:24:11 +08:00
|
|
|
# glx-use-gpushader4 = true;
|
2013-04-21 22:30:22 +08:00
|
|
|
|
2012-09-25 21:04:10 +08:00
|
|
|
# Window type settings
|
|
|
|
wintypes:
|
|
|
|
{
|
2014-05-16 15:18:17 +08:00
|
|
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
|
2012-09-28 09:10:34 +08:00
|
|
|
};
|