switch to notify-send for this instead because dunstify wont work as root i think
This commit is contained in:
parent
6ad6067710
commit
f4139933fc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue