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

4 lines
117 B
Bash
Executable File

#!/bin/sh
source $(dirname $0)/../.env
echo "%{F$MOCHA_MAUVE}%{F$MOCHA_TEXT} " $(uptime --pretty | sed 's/up //')