aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/module/memory.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/waybar/module/memory.nix')
-rw-r--r--modules/desktop/waybar/module/memory.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/desktop/waybar/module/memory.nix b/modules/desktop/waybar/module/memory.nix
index 3aa49d6..40e313f 100644
--- a/modules/desktop/waybar/module/memory.nix
+++ b/modules/desktop/waybar/module/memory.nix
@@ -1,6 +1,9 @@
-{ config, iconColor }:
+{ config, mkIcon }:
with config.scheme.withHashtag;
+let
+ iconColor = base0F;
+in
{
- format = "<span foreground='${iconColor}'></span> {percentage}%";
+ format = "${mkIcon iconColor ""} {percentage}%";
interval = 2;
}