From e5e3a43917a57e6821376339206ecb0191b5d779 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 12 Jan 2025 13:42:16 -0600 Subject: [PATCH] waybar: add indexed workspace icons Signed-off-by: Myned --- options/custom/programs/waybar/default.nix | 24 ++++++++++++---------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/options/custom/programs/waybar/default.nix b/options/custom/programs/waybar/default.nix index 53fc5a0..5c02b44 100644 --- a/options/custom/programs/waybar/default.nix +++ b/options/custom/programs/waybar/default.nix @@ -275,17 +275,6 @@ in { }; }; - # https://github.com/Alexays/Waybar/wiki/Module:-Niri - "niri/workspaces" = - common - // { - format = "{icon}"; - - format-icons = { - scratchpad = ""; - }; - }; - # https://github.com/Alexays/Waybar/wiki/Module:-MPRIS mpris = common @@ -331,6 +320,19 @@ in { on-click-right = nm-connection-editor; }; + # https://github.com/Alexays/Waybar/wiki/Module:-Niri + "niri/workspaces" = + common + // { + format = "{icon}"; + + format-icons = { + "1" = ""; + "2" = ""; + "3" = ""; + }; + }; + # https://github.com/Alexays/Waybar/wiki/Module:-PowerProfilesDaemon power-profiles-daemon = common