Fixed uptime time format

lightmode
E. Almqvist 2 years ago
parent 4381a9ec2f
commit 4be661d342
  1. 2
      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}

Loading…
Cancel
Save