From 4be661d3420c56c52e2cad266b633265fb6ae4ac Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sun, 13 Nov 2022 21:47:55 +0100 Subject: [PATCH] Fixed uptime time format --- polybar/.config/polybar/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index e985daf..2edf73f 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -56,7 +56,7 @@ modules-right = pulseaudio cmus uptime [module/uptime] type = "custom/script" -exec = awk '{print int($1/3600)":"int(($1%3600)/60)":"int($1%60)}' /proc/uptime +exec = awk '{print int($1/3600)"h "int(($1%3600)/60)"m "}' /proc/uptime interval = 1 label = uptime: %output% format-underline = ${colors.foreground2}