X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=tmux.conf.in;h=a5b83615828ffa313a138165092ac22ea04edda0;hb=78ed4e167ea4bf3ba1b03cc64ea02e6d4184cf77;hp=ea82d371f34f5e081f630fa092044f3af13955f9;hpb=03ca50de1ca1b158d17b6bd4458ff6acb9a5114f;p=config%2Fdotfiles.git diff --git a/tmux.conf.in b/tmux.conf.in index ea82d37..a5b8361 100644 --- a/tmux.conf.in +++ b/tmux.conf.in @@ -4,6 +4,7 @@ # # - To swap/renumber windows (like GNU screen's :number command) use # :swap-window -t . +# - GNU screen's screen -x can be replicated with tmux new-session -t. # Copyright (C) 2011-2013 Simon Ruderich # @@ -23,6 +24,13 @@ # 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" @@ -68,6 +76,7 @@ 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 \ + #(~/.shell/bin/temperature.pl -t TEMPERATURE)\ #[] #(~/.shell/bin/battery.pl -t BATTERY)\ "