feat(sway): assign default apps to workspaces

This commit is contained in:
Michael Mandl 2024-07-13 11:07:08 +02:00
parent ad07e04601
commit cc001c4844
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

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"; }