/
picom.conf
68 lines (65 loc) · 2.01 KB
/
picom.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
backend = "egl";
vsync = true;
glx-no-stencil = true;
glx-no-rebind-pixmap = true;
mark-ovredir-focused = true;
use-ewmh-active-win = true;
# Opacity rules (first rule match)
# Cannot use override-redirect:
# https://github.com/yshui/picom/issues/625
opacity-rule = [
"0:_NET_WM_STATE@[*]:32a = '_NET_WM_STATE_HIDDEN'",
# GTK frame extents are used for client-side shadows, we shouldn't have that as i3 does not support them.
"100:_GTK_FRAME_EXTENTS@:c",
"100:fullscreen",
"100:name = 'Zoom Meeting'",
"100:name = 'zoom_linux_float_video_window'",
"100:class_i = 'jitsi meet'",
"100:class_g = 'Rofi'",
"100:class_g = 'mpv'",
"100:class_g = 'Xss-dimmer'",
"100:class_g = 'scummvm'",
"100:window_type = 'dock'",
"100:window_type = 'utility'",
"95:window_type = 'combo'",
"95:window_type *= 'menu'",
"85:!focused"
];
# Shadow and fading
fade-in-step = 0.08;
fade-out-step = 0.08;
shadow-opacity = 0.8;
shadow-radius = @SHADOW_RADIUS@;
shadow-offset-x = -@SHADOW_OFFSET@;
shadow-offset-y = -@SHADOW_OFFSET@;
shadow-exclude-reg = "x@POLYBAR_HEIGHT@+0+0"
wintypes:
{
normal = { shadow = true; };
dock = { shadow = true; };
combo = { fade = true; };
dropdown_menu = { fade = true; };
menu = { fade = true; };
popup_menu = { fade = true; };
tooltip = { fade = true; };
notification = { fade = true; shadow = true; };
splash = { fade = true; shadow = true; };
dialog = { fade = true; shadow = true; };
};
shadow-exclude = [
"_NET_WM_STATE@[*]:32a = '_NET_WM_STATE_HIDDEN'",
# GTK frame extents are used for client-side shadows, we shouldn't have that.
"_GTK_FRAME_EXTENTS@:c",
"class_i = 'xss-dimmer'",
"class_i = 'i3-frame'",
"class_g = 'Rofi'",
# Zoom
"name = 'cpt_frame_window'",
"name = 'cpt_frame_xcb_window'",
"name = 'as_toolbar'",
# Other sharing indicators
"name ~= 'is sharing your screen.$'", # Chrome
"name = 'Firefox — Sharing Indicator'", # Firefox
"name = 'Screen Sharing Tracker'" # Jitsi
];
fade-exclude = [ ];