dotfiles/.config/polybar/scripts/uptime.sh
2021-07-11 16:54:17 +03:00

3 lines
142 B
Bash
Executable File

#!/bin/sh
notify-send -u low "$(awk '{print "Uptime: " int($1/3600)" Hours "int(($1%3600)/60)" minutes "int($1%60)" seconds"}' /proc/uptime)"