diff options
Diffstat (limited to 'modules/desktop/waybar/module/workspaces.nix')
| -rw-r--r-- | modules/desktop/waybar/module/workspaces.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/desktop/waybar/module/workspaces.nix b/modules/desktop/waybar/module/workspaces.nix index a16b9e5..c8a99c2 100644 --- a/modules/desktop/waybar/module/workspaces.nix +++ b/modules/desktop/waybar/module/workspaces.nix @@ -1,9 +1,13 @@ -{ config, lib }: +{ + config, + lib, + mkIcon, +}: with config.scheme.withHashtag; let mkWindowRewrite = enable: color: icon: - lib.mkIf enable "<span font_size='150%' color='${color}'>${icon}</span>"; + lib.mkIf enable (mkIcon color icon); in { format = "{windows} <span rise='-3000' font_size='small'>{id}</span>"; |
