aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/status-bar/polybar/module/memory.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-25 23:51:51 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-25 23:51:51 +0530
commit86aaaabfd153a1710b6773f17925d2e5191bf522 (patch)
treedb9baa777a98f6b66c1483ba9664bc62fc8bd007 /modules/desktop/status-bar/polybar/module/memory.nix
parent478081af928e1557b325f4a4cbd5b67f079660d2 (diff)
downloadhome-manager-config-86aaaabfd153a1710b6773f17925d2e5191bf522.tar.gz
home-manager-config-86aaaabfd153a1710b6773f17925d2e5191bf522.zip
Changed polybar bspwm workspace tab config.
Diffstat (limited to 'modules/desktop/status-bar/polybar/module/memory.nix')
-rw-r--r--modules/desktop/status-bar/polybar/module/memory.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/desktop/status-bar/polybar/module/memory.nix b/modules/desktop/status-bar/polybar/module/memory.nix
new file mode 100644
index 0000000..a09d4a8
--- /dev/null
+++ b/modules/desktop/status-bar/polybar/module/memory.nix
@@ -0,0 +1,9 @@
+{ config }:
+
+with config.scheme.withHashtag;
+{
+ type = "internal/memory";
+ interval = 2;
+ format-prefix = "%{F${base0A}} %{F-}";
+ label = "%percentage_used%%";
+}