feat(sway): assign default apps to workspaces

This commit is contained in:
mandlm 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";
};
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"; }