-
Notifications
You must be signed in to change notification settings - Fork 0
/
picom.conf
executable file
·134 lines (116 loc) · 3.22 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
####################################
####### BACK-END ########
####################################
# Backend to use: "xrender" or "glx".
# GLX backend is typically much faster but depends on a sane driver.
backend = "glx";
####################################
####### GLX ########
####################################
glx-no-stencil = true;
glx-copy-from-front = false;
####################################
####### Shadow ########
####################################
shadow = false;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-exclude = [
"! name~=''",
"name = 'Notification'",
"name = 'picom'",
"name = 'vivaldi-snapshot'",
"name = 'Dunst'",
"name = 'Conky'",
"override_redirect = 1 && !WM_CLASS@:s",
"class_g ?= 'Conky'",
"class_g ?= 'rofi'",
"class_g ?= 'Dunst'",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_GTK_FRAME_EXTENTS@:c",
];
xinerama-shadow-crop = true;
shadow-ignore-shaped = true;
####################################
####### Opacity ########
####################################
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = true;
blur: {
# requires: https://github.com/ibhagwan/picom
# method = "kawase";
# method = "kernel";
strength = 7;
# deviation = 1.0;
# kernel = "11x11gaussian";
background = false;
background-frame = false;
background-fixed = false;
kern = "3x3box";
}
blur-background = true;
blur-background-frame = true;
blur-background-exclude = [
"window_type = 'override'",
"_GTK_FRAME_EXTENTS@:c",
];
opacity-rule = [
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_HIDDEN'",
"90:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_STICKY'",
"90:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_STICKY'",
"100:class_g = 'spectrwm' && !_NET_WM_STATE@:32a",
"100:class_g = 'st' && !_NET_WM_STATE@:32a",
"100:class_g = 'urxvt' && !_NET_WM_STATE@:32a",
"100:class_g = 'termite' && !_NET_WM_STATE@:32a",
"100:class_g = 'sakura' && !_NET_WM_STATE@:32a",
"100:class_g = 'weechat' && !_NET_WM_STATE@:32a",
];
####################################
####### Fading ########
####################################
fade-exclude = [ ];
####################################
####### Other ########
####################################
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
#refresh-rate = 0;
dbe = false;
#sw-opti = false;
vsync = false;
unredir-if-possible = false;
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
####################################
###### Window type settings ########
####################################
wintypes :
{
tooltip :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
fullscreen :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
};