feat(sway): assign default apps to workspaces

main
mandlm 2024-07-13 11:07:08 +02:00
parent ad07e04601
commit cc001c4844
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 19 additions and 0 deletions

View File

@ -138,6 +138,25 @@ in
"XF86MonBrightnessDown" = "exec swayosd-client --brightness lower"; "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 = [ startup = [
{ command = "keepassxc"; } { command = "keepassxc"; }
{ command = "kitty"; } { command = "kitty"; }