aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2016-08-09 20:33:28 +0200
committerDavid Runge <dave@sleepmap.de>2016-08-09 20:33:28 +0200
commitce8b427db092c3a1d2c7b77453a74fe061295292 (patch)
tree657c417949670c4cd3fb68f351463f40e8e8e6fc
parent835c00143ad5dddbc440a79f97297fe5b8e96b70 (diff)
downloaddotfiles-ce8b427db092c3a1d2c7b77453a74fe061295292.tar.gz
dotfiles-ce8b427db092c3a1d2c7b77453a74fe061295292.tar.bz2
dotfiles-ce8b427db092c3a1d2c7b77453a74fe061295292.tar.xz
dotfiles-ce8b427db092c3a1d2c7b77453a74fe061295292.zip
.tmux.conf: Adding vlock as tmux lock-command. Removing unnessecary whitespaces in status-right for small screens.
-rw-r--r--.tmux.conf15
1 files 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 '