diff options
Diffstat (limited to '.config/polybar')
-rw-r--r-- | .config/polybar/config.ini | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 49614a6..5e4bcb8 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -230,8 +230,9 @@ 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}'" -label = "/ UP: %output% " +;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"}'" +label = "/ UP:%output% " hidden = true format-foreground = ${colors.uptime-fg} |