dunst aufrufe
This commit is contained in:
parent
1661b10883
commit
e7b9bbe54b
3 changed files with 11 additions and 4 deletions
6
dunstrc
6
dunstrc
|
@ -4,7 +4,7 @@
|
|||
|
||||
[global]
|
||||
# funktioniert erst ab 1.6.0
|
||||
gaps = true
|
||||
gaps = true
|
||||
gap_size = 10
|
||||
#####
|
||||
monitor = 0
|
||||
|
@ -20,7 +20,7 @@
|
|||
|
||||
idle_threshold = 20
|
||||
mouse_right_click = close_all
|
||||
|
||||
|
||||
font = pango:monospace 8
|
||||
|
||||
alignment = left
|
||||
|
@ -47,5 +47,3 @@
|
|||
foreground = colors.foreground
|
||||
frame_color = "#FF8A00"
|
||||
timeout = 30
|
||||
highlight = #FFFFFF
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue