mirror of
https://github.com/Horhik/dotfiles.git
synced 2024-11-12 19:54:16 +00:00
16 lines
267 B
Markdown
16 lines
267 B
Markdown
|
# Script: system-uptime-pretty
|
||
|
|
||
|
A shell script which displays the output of `uptime --pretty` in a minimal fashion:
|
||
|
|
||
|
`2d 1h 35m`
|
||
|
|
||
|
|
||
|
## Module
|
||
|
|
||
|
```ini
|
||
|
[module/system-uptime-pretty]
|
||
|
type = custom/script
|
||
|
exec = ~/polybar-scripts/system-uptime-pretty.sh
|
||
|
interval = 30
|
||
|
```
|