X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=status;h=0b0b6952557d197809d2ba1c24ff0f3d347010ef;hb=a81b29d421e62966c6710115522b323a13ce7afd;hp=292d714ecf49afd90b20ba21c0085c7bb9eaa1e3;hpb=3adb9508698fe0d1ec5f03d7fcd580da557c99cb;p=bin.git diff --git a/status b/status index 292d714..0b0b695 100755 --- a/status +++ b/status @@ -8,10 +8,10 @@ function power_set() { 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)"