notify-send needs to be critical

notification on critical level doesnt disappear after timeout
This commit is contained in:
Pavel Ruzicka 2016-10-17 00:31:26 +02:00 committed by GitHub
parent 8972a734f7
commit e72ca5cef9

View file

@ -92,7 +92,7 @@ show_visual_notification()
cur_display=${logged_users[$i + 1]}
export DISPLAY=$cur_display
su $cur_user -c "notify-send '$header' '$text'"
su $cur_user -c "notify-send -u critical '$header' '$text'"
done
}