gave up
This commit is contained in:
parent
3a379c6211
commit
a2e0513b2d
1 changed files with 0 additions and 5 deletions
|
@ -24,13 +24,8 @@ battery() {
|
||||||
Charging) printf "^c$blue^ $get_capacity" ;;
|
Charging) printf "^c$blue^ $get_capacity" ;;
|
||||||
Discharging) if (( $get_capacity <= 20)); then
|
Discharging) if (( $get_capacity <= 20)); then
|
||||||
printf "^c$lightred^ $get_capacity"
|
printf "^c$lightred^ $get_capacity"
|
||||||
if [ "$sent_notification" = false ]; then
|
|
||||||
notify-send -u critical "test"
|
|
||||||
sent_notification=true
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
printf "^c$blue^ $get_capacity"
|
printf "^c$blue^ $get_capacity"
|
||||||
sent_notification=false
|
|
||||||
fi ;;
|
fi ;;
|
||||||
esac
|
esac
|
||||||
#printf "^c$blue^ $get_capacity"
|
#printf "^c$blue^ $get_capacity"
|
||||||
|
|
Loading…
Reference in a new issue