should work now
This commit is contained in:
parent
e609da7e94
commit
363e577ea0
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ 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
|
if [ [$sent_notification = false] ]; then
|
||||||
sudo -u sako \
|
sudo -u sako \
|
||||||
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus \
|
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus \
|
||||||
dunstify -u critical "Battery low" "Please charge battery"
|
dunstify -u critical "Battery low" "Please charge battery"
|
||||||
|
|
Loading…
Reference in a new issue