mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2026-01-15 16:43:06 +01:00
remove dependency on niri overlay from sodi and switch to just kdl
This commit is contained in:
parent
0cb98d2868
commit
3cacac4e6a
21 changed files with 352 additions and 653 deletions
32
modules/desktop/home/niri/kdl/quirks.kdl
Normal file
32
modules/desktop/home/niri/kdl/quirks.kdl
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
// 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"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue