aboutsummaryrefslogtreecommitdiffstats
path: root/herbstluftwm/.config
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-09-12 01:21:04 +0200
committerGravatar Tom Willemse2016-09-12 01:21:04 +0200
commit5588c1bf18bdb1a1f7a92edab6ecd0149dbb61a3 (patch)
tree6d83a7fb7ba791611a6861d1110456e4f4a5b0d3 /herbstluftwm/.config
parentc6c493a204762d1e27c2cc00dc023bb6f939187a (diff)
downloadnew-dotfiles-5588c1bf18bdb1a1f7a92edab6ecd0149dbb61a3.tar.gz
new-dotfiles-5588c1bf18bdb1a1f7a92edab6ecd0149dbb61a3.zip
Add screen locker config
Diffstat (limited to 'herbstluftwm/.config')
-rwxr-xr-xherbstluftwm/.config/herbstluftwm/autostart2
1 files changed, 2 insertions, 0 deletions
diff --git a/herbstluftwm/.config/herbstluftwm/autostart b/herbstluftwm/.config/herbstluftwm/autostart
index ac07ad1..a47a59a 100755
--- a/herbstluftwm/.config/herbstluftwm/autostart
+++ b/herbstluftwm/.config/herbstluftwm/autostart
@@ -73,6 +73,8 @@ hc keybind $Mod-b spawn hlwm-run-or-raise Conkeror conkeror
# frame. Start an Emacs daemon if necessary.
hc keybind $Mod-t spawn hlwm-run-or-raise Emacs \
emacsclient --create-frame --alternate-editor=''
+# Lock the screen with C-M-l.
+hc keybind Control-Mod1-l spawn i3lock --color 000000
# Since I use the colemak keyboard layout, hjkl doesn't make much
# sense. I use neio instead since that is almost in the same place