2 # Sends a notification with battery level and time
5 date +%A", "%b" "%e", "%r
9 upower -d | grep percentage | tail -c 5
10 if [[ $(upower -d | grep "discharging") ]]; then
12 echo "$(upower -d | grep "time to empty" | tail -c 15) remaining"
15 echo "$(upower -d | grep "time to full" | tail -c 15) until charged"
19 notify-send -i "clock" "`echo $(time_set)`" "`echo $(power_set)`"