diff --git a/modules/desktop/home/niri/quirks.nix b/modules/desktop/home/niri/quirks.nix index 1f4eb31..7a9199e 100644 --- a/modules/desktop/home/niri/quirks.nix +++ b/modules/desktop/home/niri/quirks.nix @@ -4,29 +4,30 @@ window-rules = [ { # handle steam grabbing focus 1000 times on startup - matches = [ - {app-id = "steam";} - ]; - excludes = [ - {title = "(Guild Wars 2)";} + { + app-id = "steam"; + title = "Steam"; + } ]; open-focused = false; } { # position steam notifs correctly: https://github.com/YaLTeR/niri/wiki/Application-Issues - matches = [ { app-id = "steam"; - title = "^notificationtoasts_\\d+desktop$"; + title = "^notificationtoasts_[\\d]+_desktop$"; } ]; default-floating-position = { - x = 10; - y = 10; + x = 0; + y = 0; relative-to = "bottom-right"; }; + shadow.enable = false; + border.enable = false; + baba-is-float = false; } { matches = [ diff --git a/modules/desktop/home/niri/style.nix b/modules/desktop/home/niri/style.nix index b12b202..c4dd1fa 100644 --- a/modules/desktop/home/niri/style.nix +++ b/modules/desktop/home/niri/style.nix @@ -49,6 +49,7 @@ matches = [{ is-floating = true; }]; + baba-is-float = true; shadow = { offset.y = 0; offset.x = 0; diff --git a/modules/media/default.nix b/modules/media/default.nix index 0829585..a3a8925 100644 --- a/modules/media/default.nix +++ b/modules/media/default.nix @@ -44,7 +44,7 @@ in vlc mpv - kdePackages.okular + evince nomacs jellyfin-media-player