aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/waybar/module/memory.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-25 14:46:01 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-25 14:46:01 +0530
commit47a4bf5c092a70095a250eed0372835221905067 (patch)
tree223d1b5e651eb03d2d49d2c220063855411f9396 /modules/desktop/waybar/module/memory.nix
parent282a085718b6cba16913771a80256040351d1746 (diff)
downloadhome-manager-config-47a4bf5c092a70095a250eed0372835221905067.tar.gz
home-manager-config-47a4bf5c092a70095a250eed0372835221905067.zip
feat(waybar): color icons with base16, refactor modules, polish bar styling
- Color individual module icons with base16 palette via iconColor param - Refactor vpn module into writeShellScript for Pango markup support - Switch window module from max-length to expand, fix-center to false - Add persistent-workspaces to reserve workspaces across monitor changes - Overhaul waybar CSS: borders, padding, hover/active workspace states - Change memory display from {usedGb} GB to {percentage}%
Diffstat (limited to 'modules/desktop/waybar/module/memory.nix')
-rw-r--r--modules/desktop/waybar/module/memory.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/desktop/waybar/module/memory.nix b/modules/desktop/waybar/module/memory.nix
index b9a45a4..27b66e0 100644
--- a/modules/desktop/waybar/module/memory.nix
+++ b/modules/desktop/waybar/module/memory.nix
@@ -1,6 +1,6 @@
-{ config }:
+{ config, iconColor }:
with config.scheme.withHashtag;
{
- format = " {usedGb} GB";
+ format = "<span foreground='${iconColor}'></span> {percentage}%";
interval = 2;
}