Shorten widget

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-06-25 13:59:12 +02:00
parent 0ceaa13942
commit 90b4caa724
Signed by: luzifer
GPG Key ID: D91C3E91E4CAD6F5

View File

@ -1,3 +1,3 @@
#!/usr/bin/env zsh
printf "\uf2f2 %.1f Days\n" $(($(cut -d ' ' -f 1 </proc/uptime) / 86400.0))
printf "\uf2f2 %.1fd\n" $(($(cut -d ' ' -f 1 </proc/uptime) / 86400.0))