]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - tmux.conf.in
shell/rc,tmux.conf: Auto-logout on TTYs after timeout.
[config/dotfiles.git] / tmux.conf.in
index abd6dfde0b8475a9f59066fd77fb5b44eb0d0e94..4b2ba9234f4202f61946fec3e5ab2876c255b6d1 100644 (file)
 
 # GENERAL
 
+# Use vlock to lock the screen. Tmux doesn't have an internal lock program
+# like GNU screen!
+set-option -g lock-command "vlock"
+# Lock sessions individually. Otherwise lock-after-time will wait on all other
+# sessions to idle before it locks this session.
+set-option -g lock-server off
+
 # Use Zsh as shell. Tmux does not display a warning if the shell isn't
 # available!
 set-option -g default-shell "/bin/zsh"
@@ -67,7 +74,10 @@ set-option -g status-bg colour12
 set-option -g status-left ""
 # Current load average and hostname (#H) on the right.
 set-option -g status-right "#(uptime | sed 's/^.*load averages*: //; s/,//g') \
-                            #H"
+                            #H \
+                            #(~/.shell/bin/temperature.pl -t TEMPERATURE)\
+                            #[] #(~/.shell/bin/battery.pl -t BATTERY)\
+                            "
 
 # Format for windows in the window list in the status line. #I window index,
 # #W window number, #F window flags.