blob: 07fa886c0c72a3bbb8a686c50d67f037b7951ac1 (
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
|
// handle steam grabbing focus 1000 times on startup
window-rule {
match app-id="steam" title="Steam"
open-focused false
}
// position steam notifs correctly: https://github.com/YaLTeR/niri/wiki/Application-Issues
window-rule {
match app-id="steam" title="^notificationtoasts_[\\d]+_desktop$"
open-focused false
border { off; }
shadow { off; }
baba-is-float false
default-floating-position relative-to="bottom-right" x=0 y=0
}
// fix guild wars
window-rule {
match app-id="steam_app_1284210" title="Guild Wars 2"
match app-id="(steam_app_[0-9]+|[Mm]inecraft.*|gamescope)"
border { off; }
shadow { off; }
}
window-rule {
match app-id="chromium-browser"
geometry-corner-radius 6 6 1 1
}
window-rule {
match app-id="vesktop" is-floating=true
geometry-corner-radius 6
}
environment {
ELECTRON_OZONE_PLATFORM_HINT "auto"
}
window-rule {
match app-id="zenity"
geometry-corner-radius 16
}
|