clean up scripts
This commit is contained in:
3
.config/polybar/scripts/system-uptime-pretty.sh
Normal file
3
.config/polybar/scripts/system-uptime-pretty.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
uptime --pretty | sed 's/up //' | sed 's/\ years\?,/y/' | sed 's/\ weeks\?,/w/' | sed 's/\ days\?,/d/' | sed 's/\ hours\?,\?/h/' | sed 's/\ minutes\?/m/'
|
||||
Reference in New Issue
Block a user