From e7577dcfab7f20649499f13338b10a5b161f2e59 Mon Sep 17 00:00:00 2001 From: Christoph Urlacher Date: Mon, 14 Jul 2025 22:21:24 +0200 Subject: [PATCH] Modules/Hyprpanel: Hide special workspaces using regex --- home/modules/hyprpanel/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/home/modules/hyprpanel/default.nix b/home/modules/hyprpanel/default.nix index c377b6f4..e173acfa 100644 --- a/home/modules/hyprpanel/default.nix +++ b/home/modules/hyprpanel/default.nix @@ -15,9 +15,6 @@ in { enable = true; systemd.enable = true; - # NOTE: Because the HM module sucks (mixes explicit options + JSON conversion), write everything as override... - # HACK: Only override fully qualified quoted attributes to not override existing attrs with empty values - # https://github.com/Jas-SinghFSU/HyprPanel/issues/886 settings = { # # Bar Config @@ -113,7 +110,7 @@ in { "bar.workspaces.applicationIconEmptyWorkspace" = ""; "bar.workspaces.applicationIconFallback" = "󰣆"; "bar.workspaces.applicationIconOncePerWorkspace" = true; - "bar.workspaces.ignored" = "-99"; # Special workspace + "bar.workspaces.ignored" = "-\\d+"; # Special workspaces "bar.workspaces.monitorSpecific" = true; "bar.workspaces.numbered_active_indicator" = "highlight"; "bar.workspaces.reverse_scroll" = true;