From 15f2409027e70b1960a5765176a5ca993ecb8099 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 2 Apr 2024 21:12:57 -0400 Subject: [PATCH] waybar: added persistent workspaces and new workspace icons --- homeManagerModules/guiApps/waybar/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/homeManagerModules/guiApps/waybar/default.nix b/homeManagerModules/guiApps/waybar/default.nix index e6128ac4..090902cd 100644 --- a/homeManagerModules/guiApps/waybar/default.nix +++ b/homeManagerModules/guiApps/waybar/default.nix @@ -34,7 +34,12 @@ "hyprland/workspaces" = { "all-outputs" = true; - "format" = "󰧞"; + "format" = "{icon}"; + "format-icons" = { + "default" = "󰝥"; + "active" = "󰪥"; + }; + "persistent-workspaces" = { "*" = 4; }; }; "hyprland/window" = { "max-length" = 100; }; "clock" = { @@ -72,7 +77,7 @@ "handsfree" = "󰋎"; "headset" = "󰋎"; }; - "ignored-sinks" = ["Easy Effects Sink"]; + "ignored-sinks" = [ "Easy Effects Sink" ]; "on-click" = "${pkgs.pavucontrol}/bin/pavucontrol -t 3"; }; "network" = {