nix-configs/modules/desktop/home/niri/kdl/quirks.kdl
2026-01-26 00:43:26 +01:00

42 lines
947 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="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
}