@@ -10,7 +10,7 @@ if [ ! -x "$(which "${WM}")" ] || [ ! -x "$(which "${COMP}")" ]; then
10
10
exit 1
11
11
fi
12
12
13
- # Disable vsync is the NVIDIA compositor is enabled.
13
+ # Disable vsync if the NVIDIA compositor is enabled.
14
14
if [ -x " $( which nvidia-settings) " ]; then
15
15
if nvidia-settings -q CurrentMetaMode -t | grep ForceCompositionPipeline=On; then
16
16
VSYNC=" --no-vsync"
39
39
--detect-client-opacity \
40
40
--glx-no-stencil \
41
41
--no-use-damage \
42
- --inactive-opacity-override \
43
42
--mark-wmwin-focused \
44
43
--mark-ovredir-focused \
45
- --shadow-radius=24 --shadow-opacity=0.225 --shadow-offset-x=-24 --shadow-offset-y=-24 \
46
- --shadow --no-dock-shadow --no-dnd-shadow \
44
+ --shadow \
45
+ --shadow-radius=24 \
46
+ --shadow-opacity=0.225 \
47
+ --shadow-offset-x=-24 \
48
+ --shadow-offset-y=-24 \
47
49
--fading \
48
50
--fade-delta=8 \
49
51
--no-fading-destroyed-argb \
50
52
--xinerama-shadow-crop \
51
53
--use-ewmh-active-win \
52
54
--unredir-if-possible \
53
55
--unredir-if-possible-exclude " class_g = 'Mate-screensaver'" \
54
- --shadow-exclude " ! name~=''" \
55
- --shadow-exclude " name = 'Notification'" \
56
- --shadow-exclude " name = 'Docky'" \
56
+ --fade-exclude " window_type *= 'menu'" \
57
+ --shadow-exclude " window_type *= 'dnd'" \
58
+ --shadow-exclude " window_type *= 'dock'" \
59
+ --shadow-exclude " window_type *= 'notification'" \
57
60
--shadow-exclude " class_g = 'albert'" \
61
+ --shadow-exclude " class_g = 'Cairo-clock'" \
58
62
--shadow-exclude " class_g = 'Conky'" \
59
- --shadow-exclude " class_g = 'Kupfer' " \
60
- --shadow-exclude " class_g = 'Plank '" \
63
+ --shadow-exclude " class_g = 'Firefox' && argb " \
64
+ --shadow-exclude " class_g ? = 'Notify-osd '" \
61
65
--shadow-exclude " class_g = 'Synapse'" \
62
66
--shadow-exclude " class_g = 'Ulauncher'" \
63
- --shadow-exclude " class_g ?= 'Notify-osd'" \
64
- --shadow-exclude " class_g ?= 'Cairo-dock'" \
65
- --shadow-exclude " class_g = 'Cairo-clock'" \
66
67
--shadow-exclude " _GTK_FRAME_EXTENTS@:c" \
67
68
--shadow-exclude " _NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" \
68
69
--shadow-exclude " _NET_WM_STATE@:32a *= '_NET_WM_STATE_MAXIMIZED'"
0 commit comments