diff options
Diffstat (limited to 'modules/desktop/waybar/module/cpu.nix')
| -rw-r--r-- | modules/desktop/waybar/module/cpu.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/desktop/waybar/module/cpu.nix b/modules/desktop/waybar/module/cpu.nix index 3b91c2b..d366f44 100644 --- a/modules/desktop/waybar/module/cpu.nix +++ b/modules/desktop/waybar/module/cpu.nix @@ -1,6 +1,9 @@ -{ config, iconColor }: +{ config, mkIcon }: with config.scheme.withHashtag; +let + iconColor = base0D; +in { - format = "<span foreground='${iconColor}'></span> {usage}%"; + format = "${mkIcon iconColor ""} {usage}%"; interval = 2; } |
