upower -d | grep percentage | tail -c 5
if [[ $(upower -d | grep "discharging") ]]; then
echo " battery,"
- echo $(upower -d | grep "time to empty" | tail -c 15) remaining
+ echo "$(upower -d | grep "time to empty" | tail -c 15) remaining"
else
echo " battery"
fi
}
-notify-send -i "clock" "`echo $(time_set)`" "`echo $(power_set)`"
+notify-send -i "clock" "echo $(time_set)" "echo $(power_set)"