1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,51 @@ |
1 |
+## Backend |
|
2 |
+backend = "glx"; |
|
3 |
+xrender-sync-fence = true; |
|
4 |
+# vsync = true; |
|
5 |
+ |
|
6 |
+## glx backend |
|
7 |
+glx-no-stencil = true; |
|
8 |
+ |
|
9 |
+## Unredir |
|
10 |
+unredir-if-possible = true; |
|
11 |
+unredir-if-possible-delay = 0; |
|
12 |
+ |
|
13 |
+## Window groups |
|
14 |
+detect-transient = true; |
|
15 |
+detect-client-leader = false; |
|
16 |
+ |
|
17 |
+## Focus |
|
18 |
+use-ewmh-active-win = true; |
|
19 |
+mark-wmwin-focused = true; |
|
20 |
+mark-ovredir-focused = true; |
|
21 |
+ |
|
22 |
+## Shadows |
|
23 |
+shadow = true; |
|
24 |
+shadow-radius = 8; |
|
25 |
+shadow-opacity = 1; |
|
26 |
+shadow-offset-x = -8; |
|
27 |
+shadow-offset-y = -8; |
|
28 |
+shadow-ignore-shaped = false; |
|
29 |
+xinerama-shadow-crop = true; |
|
30 |
+shadow-exclude = [ |
|
31 |
+ "window_type !~?= 'normal|dock'", |
|
32 |
+ "name ~?= '(^|[[:punct:]])(frame|border|tray|noshadow)([[:punct:]]|$)'", |
|
33 |
+ "class_i ~?= '(^|[[:punct:]])(frame|border|tray|noshadow)([[:punct:]]|$)'" |
|
34 |
+] |
|
35 |
+ |
|
36 |
+## Dimming |
|
37 |
+inactive-dim = 0.1; |
|
38 |
+inactive-dim-fixed = true; |
|
39 |
+ |
|
40 |
+## Opacity |
|
41 |
+detect-client-opacity = true; |
|
42 |
+# https://github.com/chjj/compton/issues/408 |
|
43 |
+# https://github.com/yshui/picom/pull/550 |
|
44 |
+opacity-rule = [ |
|
45 |
+ "0: _NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'", |
|
46 |
+ "0: _NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'", |
|
47 |
+ "0: _NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'", |
|
48 |
+ "0: _NET_WM_STATE@[3]:32a = '_NET_WM_STATE_HIDDEN'", |
|
49 |
+ "0: _NET_WM_STATE@[4]:32a = '_NET_WM_STATE_HIDDEN'", |
|
50 |
+ "90: focused && argb && window_type ?= 'normal' && class_g ~?= 'u?(xterm|rxvt)|terminal|(k|c)onsole|zathura'" |
|
51 |
+] |