diff --git a/sway/default.nix b/sway/default.nix index 4f97e3a..fa99d8b 100644 --- a/sway/default.nix +++ b/sway/default.nix @@ -138,6 +138,25 @@ in "XF86MonBrightnessDown" = "exec swayosd-client --brightness lower"; }; + window.commands = [ + { + criteria = { app_id = "[Kk]itty"; }; + command = "move window to workspace 1"; + } + { + criteria = { class = "[Ee]lement"; }; + command = "move window to workspace 2"; + } + { + criteria = { app_id = "[Tt]hunderbird"; }; + command = "move window to workspace 4"; + } + { + criteria = { app_id = "[Ff]irefox"; }; + command = "move window to workspace 8"; + } + ]; + startup = [ { command = "keepassxc"; } { command = "kitty"; }