Sway workspace and window automation

This commit is contained in:
Casper V. Kristensen 2023-08-26 19:28:04 +02:00
parent 1ae77093cf
commit 785790bc0b
2 changed files with 12 additions and 0 deletions

View file

@ -12,6 +12,10 @@
position = "2560,200";
};
};
workspaceOutputAssign = [
{ workspace = "8"; output = "DP-2"; }
{ workspace = "9"; output = "DP-2"; }
];
};
};
};

View file

@ -66,8 +66,16 @@
"XF86AudioPrev" = "exec 'playerctl previous'";
};
assigns = {
"8" = [{ class = "WebCord"; }];
"9" = [{ class = "Spotify"; }];
};
floating = {
criteria = [
{ app_id = "org.keepassxc.KeePassXC"; }
{ title = "Volume Control"; }
{ title = "wdisplays"; }
];
};
focus = {
# Don't automatically focus hovered windows
followMouse = "no";