diff --git a/status/uptime.conf b/status/uptime.conf index 5a2bbc34..c86787fb 100644 --- a/status/uptime.conf +++ b/status/uptime.conf @@ -3,6 +3,6 @@ set -ogq @catppuccin_uptime_icon "󰔟 " set -ogqF @catppuccin_uptime_color "#{E:@thm_sapphire}" -set -ogq @catppuccin_uptime_text " #(uptime | sed 's/^[^,]*up *//; s/, *[[:digit:]]* user.*//; s/ day.*, */d /; s/:/h /; s/ min//; s/$/m/')" +set -ogq @catppuccin_uptime_text " #(uptime | sed 's/^[^,]*up *//; s/, *[[:digit:]]* user.*//; s/ day.*, */d /; s/ hr\\(s*\\).*/h/; s/ min\\(s*\\).*/m/; s/ sec\\(s*\\).*/s/; s/\\([0-9]\\{1,2\\}\\):\\([0-9]\\{1,2\\}\\)/\\1h \\2m/;')" source -F "#{d:current_file}/../utils/status_module.conf"