From 5c6185a6c3db91a33dd19cb441b04ca18bcaaa71 Mon Sep 17 00:00:00 2001 From: Noa Aarts Date: Tue, 19 Nov 2024 11:28:25 +0100 Subject: [PATCH] fixup! oopsie --- extra/niri.kdl | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/extra/niri.kdl b/extra/niri.kdl index 73b633a..1ac96f4 100644 --- a/extra/niri.kdl +++ b/extra/niri.kdl @@ -121,9 +121,9 @@ layout { // See the binds section below for more spawn examples. // spawn-at-startup "alacritty" "-e" "fish" @automapaper@ -spawn-at-startup @spotify@ -spawn-at-startup @keepass@ -spawn-at-startup @thunderbird@ +spawn-at-startup "@spotify@" +spawn-at-startup "@keepass@" +spawn-at-startup "@thunderbird@" // Uncomment this line to ask the clients to omit their client-side decorations if possible. // If the client will specifically ask for CSD, the request will be honored. @@ -151,13 +151,21 @@ animations { // slowdown 3.0 } -workspace "media" { +workspace "media" + +workspace "utils" + +window-rule { match app-id=r#"^spotify$"# + + open-on-workspace "media" } -workspace "utils" { +window-rule { match app-id=r#"^thunderbird$"# match app-id=r#"^org\.keepassxc\.KeePassXC$"# + + open-on-workspace "utils" } // Window rules let you adjust behavior for individual windows.