From e1a3523dc3d1eb70c917dea69247b3d1a9209984 Mon Sep 17 00:00:00 2001 From: M1dgard Date: Thu, 5 Apr 2018 14:12:44 +0200 Subject: [PATCH] Notify when i3lock fails --- i3/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3/config b/i3/config index 8effb4d..0b3cd7b 100644 --- a/i3/config +++ b/i3/config @@ -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