Add uptime display
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
4d305c7f12
commit
35a4f8722f
1 changed files with 3 additions and 0 deletions
3
.config/i3blocks/uptime
Executable file
3
.config/i3blocks/uptime
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
|
printf "\uf2f2 %.1f Days\n" $(($(cut -d ' ' -f 1 </proc/uptime) / 86400.0))
|
Loading…
Reference in a new issue