dunst aufrufe

This commit is contained in:
Michael Grote 2022-07-21 14:51:16 +02:00
parent 1661b10883
commit e7b9bbe54b
3 changed files with 11 additions and 4 deletions

View file

@ -47,5 +47,3 @@
foreground = colors.foreground
frame_color = "#FF8A00"
timeout = 30
highlight = #FFFFFF

View file

@ -5,5 +5,6 @@ then
i3-msg 'workspace 1; exec --no-startup-id /usr/local/bin/alacritty'
else
# wenn alacritty schon läuft wechsle nur zu workspace 1
dunstify -u low "alacritty is already running"
i3-msg 'workspace 1'
fi

View file

@ -46,15 +46,23 @@ function display_off {
if [[ -n "$1" ]]; then
case "$1" in
--reboot | -r)
sleep 3
dunstify -u critical "reboot"
reboot
;;
--shutdown | -s)
sleep 3
dunstify -u critical "shutdown"
shutdown
;;
--suspend | -sd)
sleep 3
dunstify -u critical "suspend"
suspend
;;
--hibernate | -hb)
sleep 3
dunstify -u critical "hibernate"
hibernate
;;
--help | -h)