aboutsummaryrefslogtreecommitdiff
path: root/.config/picom.conf##template
blob: a737618851c9096322b382528871761cf79e4591 (plain)
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
backend = "glx";
shadow = true;
{% if yadm.hostname == "thoncc" %}
shadow-radius = 24;
shadow-opacity = 0.15;
shadow-offset-y = -24;
shadow-offset-x = -24;
{% else %}
shadow-radius = 48;
shadow-opacity = 0.3;
shadow-offset-y = -48;
shadow-offset-x = -48;
{% endif %}
corner-radius = 8;

shadow-exclude = [
	"!I3_FLOATING_WINDOW@:c && class_g != 'st' && _NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_NORMAL'",
	"!I3_FLOATING_WINDOW@:c && WM_CLASS@:s = 'st'"
]

rounded-corners-exclude = [
	"!I3_FLOATING_WINDOW@:c && WM_CLASS@:s != 'rofi' && WM_CLASS@:s != 'dunst'"
]

wintypes: {
	dock = {
		shadow = false;
		opacity = 0.999;
	};

	desktop = {
		shadow = false;
	};

	tooltip = {
		fade = true;
		shadow = false;
		opacity = 1;
	};

	menu = {
		fade = false;
	};

	utility = {
		shadow = false;
	};
};

animations = true;
animation-stiffness = 500.0;
animation-dampening = 20.0;
animation-window-mass = 0.1;
animation-for-open-window = "zoom";