compton.conf.old 2.33 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
	# workaround for conky until it provides window properties:
15
	"override_redirect = 1 && !WM_CLASS@:s",
16
17
18
	"class_g ?= 'Dmenu'",
	#"class_g ?= 'Dunst'",
	# disable shadows for hidden windows:
19
20
	"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"_GTK_FRAME_EXTENTS@:c",
21
22
23
	# disables shadows on sticky windows:
	#	"_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
	# disables shadows on i3 frames
24
25
26
27
28
29
	"class_g ?= 'i3-frame'"
];

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

30
# opacity settings
31
menu-opacity = 0.95;
32
#inactive-opacity = 0.93;
33
active-opacity = 1;
34
#alpha-step = 0.01; #deprecated
35
opacity-rule = [
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
	##"99:class_g = 'Chromium'",
	#"99:name *?= 'Conky'",
	#"99:class_g = 'Darktable'",
	#"50:class_g = 'Dmenu'",
	#"99:name *?= 'Event'",
	#"99:class_g = 'Firefox'",
	#"99:class_g = 'GIMP'",
	#"99:class_g = 'Mousepad'",
	#"99:class_g = 'VirtualBox'",
	#"99:name *?= 'VLC'",
	#"93:class_g = 'URxvt' && !_NET_WM_STATE@:32a",
	##"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
	"80:class_g = 'Xfce4-appfinder'",
	"90:name = 'alttab'",
	"80:class_g = 'copyq'",
	"99:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
52
53
];

54
55
56
57
# dim settings
inactive-dim = 0.2;
# exclude treats as always focused (doesn't dim)
focus-exclude = [
58
  "ANTIDIM_FLAG@:8c",
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
  "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
  "class_g = 'Cairo-clock'"
];

blur-background = false;
blur-kern = "3x3box";

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

#backend = "xrender";
backend = "glx";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-client-opacity = true;
unredir-if-possible = true;
refresh-rate = 0;
#vsync = "none";
#vsync = "drm";
vsync = "opengl-swc";
dbe = false;
83
#paint-on-overlay = true; #deprecated
84
85
86
87
88
89
detect-transient = true;
detect-client-leader = true;
invert-color-include = [ ];
glx-copy-from-front = false;
glx-swap-method = "undefined";

90
wintypes :
91
{
92
  tooltip :
93
94
95
96
97
98
  {
    fade = true;
    shadow = false;
    opacity = 0.85;
    focus = true;
  };
99
  fullscreen :
100
101
102
103
104
105
106
  {
    fade = true;
    shadow = false;
    opacity = 1;
    focus = true;
  };
};