Quick workaround script which I have bound to a key to get the time remaining stuff
#!/bin/sh timeremaining="$(upower -d | grep "time to empty" | awk -F : '{print $2}' | cut -c 8-)" notify-send "$timeremaining" "before the juice runs out"
Quick workaround script which I have bound to a key
to get the time remaining stuff
#!/bin/sh "$(upower -d | grep "time to empty" | awk -F : '{print $2}' | cut -c 8-)"
timeremaining=
notify-send "$timeremaining" "before the juice runs out"