diff options
Diffstat (limited to 'home/rices/schrottkatze/niri/kdl/quirks.kdl')
| -rw-r--r-- | home/rices/schrottkatze/niri/kdl/quirks.kdl | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/home/rices/schrottkatze/niri/kdl/quirks.kdl b/home/rices/schrottkatze/niri/kdl/quirks.kdl new file mode 100644 index 0000000..07fa886 --- /dev/null +++ b/home/rices/schrottkatze/niri/kdl/quirks.kdl @@ -0,0 +1,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 +} |
