fix: use correct waybar icons for new binds

This commit is contained in:
Youwen Wu 2025-01-05 23:41:01 -08:00
parent a18a91ed48
commit 220eacc954
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -251,23 +251,42 @@ in
"hyprland/workspaces" = { "hyprland/workspaces" = {
show-special = true; show-special = true;
# persistent-workspaces = {
# "*" = [
# 1
# 2
# 3
# 4
# 5
# 6
# 7
# 8
# 9
# 10
# ];
# };
format = "{icon}"; format = "{icon}";
on-click = "activate"; on-click = "activate";
format-icons = { format-icons =
{
"1" = "";
"2" = "";
"3" = "󰯵";
"4" = "󰯻";
"5" = "󰯾";
"6" = "󰰴";
"7" = "󰰨";
"8" = "󰰄";
"9" = "";
"10" = "";
active = "";
empty = "";
default = "";
urgent = "";
special = "󰠱";
}
// (
if (config.liminalOS.desktop.hyprland.useAdvancedBindings) then
{
"1" = "";
"2" = "";
"3" = "󰯵";
"4" = "󰯻";
"5" = "󰯾";
"6" = "󰰴";
"7" = "󰰨";
"8" = "";
"9" = "";
"10" = "";
}
else
{
"1" = ""; "1" = "";
"2" = ""; "2" = "";
"3" = "󰰊"; "3" = "󰰊";
@ -278,12 +297,8 @@ in
"8" = ""; "8" = "";
"9" = ""; "9" = "";
"10" = ""; "10" = "";
active = ""; }
empty = ""; );
default = "";
urgent = "";
special = "󰠱";
};
sort-by-number = true; sort-by-number = true;
}; };