From 72400bb76677ae44236ae9712d31de4558383675 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sun, 7 Jul 2019 15:47:28 -0700 Subject: polybar mem module --- linux.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'linux.nix') diff --git a/linux.nix b/linux.nix index 2dcf92b..9d26562 100644 --- a/linux.nix +++ b/linux.nix @@ -69,6 +69,7 @@ in keybase.enable = true; polybar = { + # https://github.com/0x746866/dots/blob/master/polybar/config enable = true; config = { "bar/top" = { @@ -81,7 +82,7 @@ in module-margin = 1; modules-center = "date"; modules-left = "volume-bar"; - modules-right = [ "battery" "cpu" "temp" ]; + modules-right = [ "battery" "cpu" "mem" "temp" ]; monitor = "\${env:MONITOR:HDMI-1}"; monitor-fallback = "\${env:MONITOR:eDP-1}"; radius = 0; @@ -185,6 +186,13 @@ in label-warn-padding = 1; label-warn-foreground = colors.${theme}.highlight; }; + "module/mem" = { + type = "internal/memory"; + interval = 3; + format = "