diff --git a/config/dwm/scripts/bar.sh b/config/dwm/scripts/bar.sh index 4fb9175a..eb0aa74f 100755 --- a/config/dwm/scripts/bar.sh +++ b/config/dwm/scripts/bar.sh @@ -23,7 +23,9 @@ battery() { Discharging) if (( $get_capacity <= 20)); then printf "^c$lightred^ 󰂃 $get_capacity" if [ $sent_notification = false ]; then - sudo -u sako DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus dunstify -u critical "Battery low" "Please charge battery" + sudo -u sako \ + DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus \ + dunstify -u critical "Battery low" "Please charge battery" sent_notification=true fi else