Notify when i3lock fails
This commit is contained in:
parent
82ba588faf
commit
e1a3523dc3
1 changed files with 2 additions and 2 deletions
|
@ -75,10 +75,10 @@ bindsym $mod+space exec --no-startup-id "$launcher"
|
|||
exec --no-startup-id $launcher
|
||||
|
||||
# lock the screen
|
||||
bindsym Mod1+l exec --no-startup-id i3lock --image="$HOME/Pictures/background/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_lock.png"
|
||||
bindsym Mod1+l exec --no-startup-id i3lock --image="$HOME/Pictures/background/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_lock.png" || notify-send -u normal -i lock -a i3 "Failed to lock screen" "i3lock had a non-zero exit code."
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec $term
|
||||
bindsym $mod+Return exec $term
|
||||
bindsym $mod+KP_Enter exec $term
|
||||
|
||||
# start web browser
|
||||
|
|
Loading…
Reference in a new issue