]>
Commit | Line | Data |
---|---|---|
d9362f34 | 1 | # Shadow |
2 | shadow = true; | |
3 | no-dnd-shadow = true; | |
4 | no-dock-shadow = true; | |
5 | clear-shadow = true; | |
a568f7fa | 6 | shadow-radius = 8; |
7 | shadow-offset-x = -12; | |
8 | shadow-offset-y = -12; | |
9 | shadow-opacity = 0.3; | |
d9362f34 | 10 | shadow-exclude = [ |
9fddba79 | 11 | # gtk3 fix |
d9362f34 | 12 | "_GTK_FRAME_EXTENTS@:c", |
9fddba79 | 13 | # i3 tabbed windows |
14 | "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", | |
15 | # i3 titlebar | |
16 | "class_g = 'i3-frame'", | |
17 | # fullscreen/dmenu | |
18 | "x = 0 && y = 0 && override_redirect = true", | |
6aa38e2c | 19 | # bg terminals |
20 | "class_i = 'TermBg1'", | |
21 | "class_i = 'TermBg2'" | |
d9362f34 | 22 | ]; |
23 | shadow-ignore-shaped = true; | |
d9362f34 | 24 | |
25 | # Opacity | |
26 | menu-opacity = 0.9; | |
27 | inactive-opacity = 0.875; | |
28 | active-opacity = 1; | |
29 | alpha-step = 0.01; | |
30 | inactive-dim = 0.075; | |
a568f7fa | 31 | # XXX: crashes on alpine??? |
32 | #blur-background = true; | |
d9362f34 | 33 | blur-kern = "5,5,0.367879,0.535261,0.606531,0.535261,0.367879,0.535261,0.778801,0.882497,0.778801,0.535261,0.606531,0.882497,0.882497,0.606531,0.535261,0.778801,0.882497,0.778801,0.535261,0.367879,0.535261,0.606531,0.535261,0.367879," |
9fddba79 | 34 | opacity-rule = [ |
35 | # i3 tabbed windows | |
36 | "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" | |
37 | ]; | |
38 | blur-background-exclude = [ | |
39 | # gtk3 fix | |
40 | "_GTK_FRAME_EXTENTS@:c", | |
41 | # i3 titlebar | |
42 | "class_g = 'i3-frame'", | |
43 | # ignore docks | |
44 | "window_type = 'dock'", | |
45 | "window_type = 'desktop'" | |
46 | ]; | |
d9362f34 | 47 | |
48 | # Fading | |
49 | fading = true; | |
50 | fade-delta = 16; | |
51 | fade-in-step = 0.05; | |
52 | fade-out-step = 0.05; | |
53 | ||
54 | # Rendering | |
55 | backend = "glx" | |
56 | glx-no-stencil = true; | |
57 | glx-no-rebind-pixmap = true; | |
58 | paint-on-overlay = true; | |
59 | refresh-rate = 0; | |
60 | vsync = "opengl-swc"; | |
61 | ||
62 | # Other | |
63 | mark-wmwin-focused = true; | |
64 | mark-ovredir-focused = true; | |
65 | use-ewmh-active-win = true; | |
66 | detect-rounded-corners = true; | |
67 | detect-client-opacity = true; | |
68 | detect-transient = true; | |
69 | detect-client-leader = true; | |
70 | ||
71 | # Window type settings | |
72 | wintypes: | |
73 | { | |
74 | tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true; }; | |
75 | }; |