summaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2017-01-03 21:28:37 +0000
committerUrbain Vaes <urbain@vaes.uk>2017-01-03 21:28:37 +0000
commit79370223e7b8d26a1ab9d9f294ec39fde7baf2a3 (patch)
tree6d2573eea6ff58281eff3308cbd082bb4d9370eb /i3
parent87351a354d3cd5fede653ee58cfebb1fb8b209e7 (diff)
[i3] Add shortcut to lock and suspend
Diffstat (limited to 'i3')
-rw-r--r--i3/.config/i3/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 23a0667..2693c5e 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -184,7 +184,7 @@ bindsym $mod+Shift+n exec $HOME/bin/workspace m
bindsym $mod+semicolon exec --no-startup-id $HOME/bin/run
bindsym $mod+e exec --no-startup-id $HOME/bin/tmux_attach
bindsym $mod+o exec --no-startup-id $HOME/bin/references
-bindsym $mod+Escape exec systemctl suspend
+bindsym $mod+Escape exec --no-startup-id "i3lock -c 000000 && systemctl suspend"
# bindsym $mod+m exec --no-startup-id $HOME/bin/i3-shell
for_window [class="^.*"] border pixel 2