From fb884bc9b86d4eaa7f4d22518ffef57a610b7db7 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 26 Feb 2014 10:37:34 -0800 Subject: [PATCH] Add lock command and lock timeout to tmux config --- tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmux.conf b/tmux.conf index cbc91d2..f053e31 100644 --- a/tmux.conf +++ b/tmux.conf @@ -53,4 +53,8 @@ setw -g alternate-screen on setw -g clock-mode-style 24 +# Lock the screen after 120 seconds +set-option -g lock-after-time 120 +set-option -g lock-command "tmux clock-mode" + bind-key C-a last-window