dotfiles/.config/polybar/scripts/system-uptime-pretty.sh

4 lines
117 B
Bash
Raw Normal View History

2018-05-03 20:23:53 +02:00
#!/bin/sh
source $(dirname $0)/../.env
echo "%{F$MOCHA_MAUVE}%{F$MOCHA_TEXT} " $(uptime --pretty | sed 's/up //')