-
Notifications
You must be signed in to change notification settings - Fork 2
/
compton.conf
164 lines (153 loc) · 4.05 KB
/
compton.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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# Shadow
shadow = true;
no-dnd-shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-opacity = 0.5;
#shadow-red = 0.5;
#shadow-blue = 0.5;
detect-rounded-corners = true;
shadow-radius = 5;
shadow-offset-x = 1;
shadow-offset-y = 1;
shadow-ignore-shaped = false;
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
# blur-background = true;
# Blur background of opaque windows with transparent frames as well.
# blur-background-frame = true;
# Do not let blur radius adjust based on window opacity.
blur-background-fixed = false;
blur-background-exclude = [
"window_type = 'dock'",
"window_type = 'desktop'"
];
shadow-exclude = [
"name = 'Notification'",
# workaround for conky until it provides window properties:
"override_redirect = 1 && !WM_CLASS@:s",
# "class_g ?= 'Dunst'",
#disable shadows for hidden windows:
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"_GTK_FRAME_EXTENTS@:c",
# disables shadows on sticky windows:
# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
# disables shadows on i3 frames
"class_g ?= 'i3-frame'",
"class_g = 'Unturned'",
"name = 'Unturned'",
"class_g = 'VirtualBox'",
"name = 'VirtualBox'",
"class_g = 'lemonbar'",
"name = 'lemonbar'",
"_NET_WM_STATE@[0]:a = '_NET_WM_STATE_MAXIMIZED_VERT'",
"_NET_WM_STATE@[1]:a = '_NET_WM_STATE_MAXIMIZED_HORZ'",
"_NET_WM_STATE@[0]:a = '_NET_WM_STATE_MAXIMIZED_HORZ'",
"_NET_WM_STATE@[1]:a = '_NET_WM_STATE_MAXIMIZED_VERT'",
"_NET_WM_WINDOW_TYPE@[0]:a = '_KDE_NET_WM_WINDOW_TYPE_OVERRIDE'",
];
shadow-exclude-reg = "x10+0+0";
xinerama-shadow-crop = true;
menu-opacity = 1;
inactive-opacity = 1;
active-opacity = 1;
alpha-step = 0.01;
inactive-dim = 0.1;
blur-background = false;
blur-kern = "7,7,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
fading = true;
fade-delta = 3;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-exclude = [ ];
## GLX
#backend = "glx";
#glx-no-stencil = true;
#paint-on-overlay = true;
#vsync = "opengl-swc";
## xrender
backend = "xrender"
dbe = true;
resize-damage = 1
vsync = "opengl";
refresh-rate = 75;
point-on-overlay = true;
##
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-client-opacity = true;
unredir-if-possible = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
opacity-rule = [
"60:name *?= 'gnome-terminal'",
"60:class_g ='gnome-terminal'",
"82:name *?= 'rofi'",
"82:class_g ='rofi'",
"80:name *?= 'termite'",
"80:class_g = 'termite'",
"60:name *?= 'i3bar'",
"60:class_g = 'i3bar'",
"100:name *?= 'Call'",
"100:name *?= 'Conky'",
"100:class_g = 'Darktable'",
"100:class_g = 'Dmenu'",
"100:name *?= 'Event'",
"100:class_g = 'Firefox'",
"100:class_g = 'GIMP'",
"100:class_g = 'Inkscape'",
"100:class_g = 'Evince'",
"100:name *?= 'Image'",
"100:class_g = 'Lazpaint'",
"100:class_g = 'Midori'",
"100:name *?= 'Minitube'",
"100:class_g = 'Mousepad'",
"100:name *?= 'MuseScore'",
"100:name *?= 'Page Info'",
"100:name *?= 'Pale Moon'",
"100:name *?= 'Panel'",
"100:class_g = 'Pinta'",
"100:name *?= 'Restart'",
"100:name *?= 'sudo'",
"100:class_g ='sudo'",
"99:name *?= 'Screenshot'",
"100:class_g = 'Viewnior'",
"100:class_g = 'pcmanfm'",
"100:class_g = 'VirtualBox'",
"100:class_g = 'VLC'",
"100:name *?= 'VLC'",
"100:class_g = 'vlc'",
"100:name *?= 'vlc'",
"100:name *?= 'Blender'",
"100:class_g = 'Chromium'",
"100:class_g = 'Freecad'",
"100:class_g = 'Audacious'",
"100:class_g = 'Geany'",
"100:class_g = 'transmission'",
"100:name *?= 'Write'",
"100:name *?= 'terminology'",
"100:class_g = 'terminology'",
"100:class_g = 'qutebrowser'",
"100:name *?= 'qutebrowser'",
"100:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
"100:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
"100:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
];
wintypes :
{
tooltip :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
fullscreen :
{
fade = true;
shadow = false;
opacity = 1;
focus = true;
};
};