mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-01-15 16:43:06 +01:00
32 lines
820 B
Text
32 lines
820 B
Text
// 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="vesktop" is-floating=true title="vesktop"
|
|
geometry-corner-radius 5
|
|
}
|
|
|
|
environment {
|
|
ELECTRON_OZONE_PLATFORM_HINT "auto"
|
|
}
|