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
|
# vim: ft=conf
{% if yadm.hostname == "thoncc" %}
shadow-radius = 24;
shadow-opacity = 0.4;
shadow-offset-y = -24;
shadow-offset-x = -24;
{% else %}
shadow-radius = 48;
shadow-opacity = 0.6;
shadow-offset-y = -48;
shadow-offset-x = -48;
{% endif %}
# do not touch, shit finally works w/ gpu
# backend = "xrender";
backend = "glx";
vsync = true;
corner-radius = 0;
shadow = true;
fade-in-step = 0.3;
fade-out-step = 0.18;
fade-delta = 16;
rules = (
# wintypes
{ match = "window_type *= 'dock'"; shadow = false; },
{ match = "window_type *= 'desktop'"; shadow = false; },
{ match = "window_type *= 'tooltip'"; fade = true; shadow = false; },
{ match = "window_type *= 'menu'"; fade = false; },
{ match = "window_type *= 'utility'"; shadow = false; },
{ match = "window_type *= 'notification'"; fade = true; },
# shadow-exclude
{ match = "!I3_FLOATING_WINDOW@ = 1"; shadow = false; },
# rounded-corners-exclude
{ match = "class_i *= 'rofi'"; corner-radius = 8; shadow = true; },
{ match = "class_i *= 'dunst'"; corner-radius = 12; },
{ match = "I3_FLOATING_WINDOW@ = 1"; corner-radius = 8; },
)
# old 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'",
# "_NET_WM_WINDOW_TYPE@:32a *= '_NET_WM_WINDOW_TYPE_MENU' && override_redirect = true",
# "WM_CLASS@:s = 'Firefox' && WM_WINDOW_ROLE@:s = 'Popup'"
# animations = true;
# animation-stiffness-tag-change = 350.0;
# animation-stiffness-in-tag = 350.0;
# animation-window-mass = 0.8;
# animation-dampening = 25.0;
# animation-for-open-window = "none";
# animation-clamping = false;
|