aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/polybar/config.ini3
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index 7191b4c..638ba9a 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -278,8 +278,7 @@ label = %{A3:#uptime.module_toggle:}%time%%{A3}
type = custom/script
click-left = module_toggle
interval = 100
-;exec = "uptime | awk -F, '{sub(".*up ",x,$1);sub(" min","M",$1);print $1}'"
-exec = "uptime | awk -F, '{sub(".*up ",x,$1);sub(" min","M",$1);sub(":","H ",$1);print $1"M"}'"
+exec = "uptime | awk -F, '{sub(".*up ",x,$1);sub(" min","",$1);sub(":","H ",$1);print $1"M"}'"
label = "/ UP:%output% "
hidden = true