From ce8b427db092c3a1d2c7b77453a74fe061295292 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 9 Aug 2016 20:33:28 +0200 Subject: .tmux.conf: Adding vlock as tmux lock-command. Removing unnessecary whitespaces in status-right for small screens. --- .tmux.conf | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index e1d1a17..9cf6778 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -36,6 +36,9 @@ set -g history-limit 10000 # set mouse mode on set -g mouse on +# set the lock command to be vlock +set -g lock-command vlock + # Wheel scroll in pane unbind -T root WheelUpPane unbind -T root WheelDownPane @@ -80,12 +83,12 @@ set -g message-attr bold # set status-interval to 2 for tmux-mem-cpu-load set -g status-interval 1 set -g status-left '#[fg=colour235,bg=colour252,bold] #(hostname) #[fg=colour245,bg=colour238,bold] #(whoami) (#S) ' -set -g status-right '#[fg=colour23,bg=colour234]|>#[fg=white,bg=colour234]#(~/bin/get_cpu_status) \ -#[fg=colour23,bg=colour234]|#[fg=white,bg=colour234] #(~/bin/get_mem) \ -#[fg=colour23,bg=colour234]|#[fg=white,bg=colour234] #(~/bin/get_load) \ -#[fg=colour23,bg=colour234]|#[fg=white,bg=colour234] #(~/bin/get_battery_status) \ -#[fg=colour23,bg=colour234]<|>#[fg=white,bg=colour234] %Y%m%d (%a) \ -#[fg=colour23,bg=colour234]|#[fg=white,bg=colour234] %H:%M:%S \ +set -g status-right '#[fg=colour23,bg=colour234]|>#[fg=white,bg=colour234]#(~/bin/get_cpu_status)\ +#[fg=colour23,bg=colour234]|#[fg=white,bg=colour234]#(~/bin/get_mem)\ +#[fg=colour23,bg=colour234]|#[fg=white,bg=colour234]#(~/bin/get_load)\ +#[fg=colour23,bg=colour234]|#[fg=white,bg=colour234]#(~/bin/get_battery_status)\ +#[fg=colour23,bg=colour234]|#[fg=white,bg=colour234]%Y%m%d/%a\ +#[fg=colour23,bg=colour234]|#[fg=white,bg=colour234]%H:%M:%S\ #[fg=colour23,bg=colour234]<|' set -g window-status-format '#[fg=colour235,bg=colour252,bold] #I: #W ' set -g window-status-current-format '#[fg=black,bg=colour23,noreverse,bold] #I: #W ' -- cgit v1.2.3-70-g09d2