compton.conf 2.49 KB
Newer Older
1
# Shadow
2
shadow = false;
3
4
5
6
7
8
9
10
11
12
# no-dnd-shadow = true;
# no-dock-shadow = true;
clear-shadow = true;
detect-rounded-corners = true;
shadow-radius = 5;
shadow-offset-x = 1;
shadow-offset-y = 1;
shadow-opacity = .3;
shadow-ignore-shaped = false;
shadow-exclude = [
13
	"name = 'Notification'",
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
# workaround for conky until it provides window properties:
	"override_redirect = 1 && !WM_CLASS@:s",
    "class_g ?= 'Dmenu'",
#	"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'"
];

# shadow-exclude-reg = "x10+0+0";
# xinerama-shadow-crop = true;

menu-opacity = 0.95;
inactive-opacity = 0.93;
active-opacity = 1;
alpha-step = 0.01;
inactive-dim = 0.0;
blur-background = false;
blur-kern = "3x3box";

fading = false;
fade-delta = 1;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-exclude = [ ];

44
45
#backend = "xrender";
backend = "glx";
46
47
48
49
50
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-client-opacity = true;
unredir-if-possible = true;
refresh-rate = 0;
51
52
53
#vsync = "none";
#vsync = "drm";
vsync = "opengl-swc";
54
55
56
57
58
59
60
61
62
dbe = false;
paint-on-overlay = true;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
glx-swap-method = "undefined";

63
64
opacity-rule = [
"99:name *?= 'Call'",
Jay Ta'ala's avatar
Jay Ta'ala committed
65
#"99:class_g = 'Chromium'",
66
67
68
69
70
71
"99:name *?= 'Conky'",
"99:class_g = 'Darktable'",
"50:class_g = 'Dmenu'",
"99:name *?= 'Event'",
"99:class_g = 'Firefox'",
"99:class_g = 'GIMP'",
72
"99:name *?= 'Image'",
73
74
75
"99:class_g = 'Lazpaint'",
"99:class_g = 'Midori'",
"99:name *?= 'Minitube'",
76
"99:class_g = 'Mousepad'",
77
78
79
"99:name *?= 'MuseScore'",
"90:name *?= 'Page Info'",
"99:name *?= 'Pale Moon'",
80
#"90:name *?= 'Panel'",
81
82
83
84
85
86
87
"99:class_g = 'Pinta'",
"90:name *?= 'Restart'",
"99:name *?= 'sudo'",
"99:name *?= 'Screenshot'",
"99:class_g = 'Viewnior'",
"99:class_g = 'VirtualBox'",
"99:name *?= 'VLC'",
88
#"99:name *?= 'Write'",
89
90
91
"80:class_g = 'copyq'",
"90:name = 'alttab'",
"99:name *?= 'dropdown-terminal'",
92
"93:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
93
#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
94
"99:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
95
96
];

97
wintypes :
98
{
99
  tooltip :
100
101
102
103
104
105
  {
    fade = true;
    shadow = false;
    opacity = 0.85;
    focus = true;
  };
106
  fullscreen :
107
108
109
110
111
112
113
  {
    fade = true;
    shadow = false;
    opacity = 1;
    focus = true;
  };
};