Sway remove workspace assigns

Change waybar workspace icons to use numbered workspaces, rather than
workspaces with specific purposes
This commit is contained in:
Evie Litherland-Smith 2024-04-19 10:53:27 +01:00
parent f2749d886a
commit 6b08b57ccc
2 changed files with 8 additions and 24 deletions

View file

@ -76,19 +76,6 @@
{command = "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";} {command = "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";}
{command = "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n";} {command = "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n";}
]; ];
assigns = {
"3" = [
{class = "^(libreoffice|soffice)(.*)$";}
];
"4" = [
{class = "^WebCord$";}
{class = "^Signal$";}
];
"5" = [
{class = "^steam$";}
{class = "^org.prismlauncher.PrismLauncher$";}
];
};
window = { window = {
border = 1; border = 1;
commands = [ commands = [

View file

@ -38,17 +38,13 @@
"sway/workspaces" = { "sway/workspaces" = {
format = "{icon}"; format = "{icon}";
format-icons = { format-icons = {
"1" = "󰟀 "; "1" = "󰫃 ";
"2" = "󰝚 "; "2" = "󰫄 ";
"3" = "󱧶 "; "3" = "󰫅 ";
"4" = "󰭻 "; "4" = "󰫆 ";
"5" = "󰹁 "; "5" = "󰫇 ";
"6" = "󰫃 "; "6" = "󰫈 ";
"7" = "󰫄 "; default = "󰋙 ";
"8" = "󰫅 ";
"9" = "󰫆 ";
"10" = "󰫇 ";
default = "󰫈 ";
urgent = "󰁡 "; urgent = "󰁡 ";
}; };
# show-special = false; # show-special = false;
@ -60,6 +56,7 @@
"3" = []; "3" = [];
"4" = []; "4" = [];
"5" = []; "5" = [];
"6" = [];
}; };
}; };
"sway/window" = { "sway/window" = {