commit d1f478ffe33decd59155c7d8a3c2cc42e2d27674
parent 398cf67644274ce898ecb77530dc9131da25851c
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date: Sat, 15 Dec 2018 18:16:51 +0100
Set lock command for tmux
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/tmux.conf b/tmux.conf
@@ -112,6 +112,11 @@ set -sg escape-time 1
# Prevent tmux from starting a login shell
set -g default-command "${SHELL}"
+# use vlock to lock screen
+set -g lock-command vlock
+bind l lock-client
+bind L lock-session
+
##################################################################
##################################################################
##################################################################