From f4139933fc7a1edad416f82dd0be28002468854f Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 5 Aug 2023 00:08:13 +0300 Subject: [PATCH] switch to notify-send for this instead because dunstify wont work as root i think --- config/dwm/scripts/bar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/dwm/scripts/bar.sh b/config/dwm/scripts/bar.sh index 19d0798f..9d1fcc56 100755 --- a/config/dwm/scripts/bar.sh +++ b/config/dwm/scripts/bar.sh @@ -25,7 +25,7 @@ battery() { 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" + notify-send -u critical "Battery low" "Please charge battery" sent_notification=true fi else