ajout conf tmux
|
1 |
set -g status-right '' |
2 |
set -g status-left '' |
|
tmux: fix defaut allow-renam...
|
3 |
set -g allow-rename on |
ajout conf tmux
|
4 |
set -g window-status-current-format '' |
5 |
set -g window-status-format '#{window_index}#{window_flags} #{=20:window_name}' |
|
6 |
bind-key Escape copy-mode |
|
7 |
bind-key C-b last-window |
|
8 |
#set -g status-utf8 on |
|
9 |
if-shell "test $(hostname) = raspberrypi" "set-option -g status-bg white" |
|
change couleurs bar de statu...
|
10 |
if-shell "test $(hostname) = section" "set-option -g status-bg magenta" |
11 |
if-shell "test $(hostname) = cloud" "set-option -g status-bg red" |
|
ajout conf tmux
|
12 |
if-shell "test $(hostname) = piledelinge" "set-option -g status-bg green" |
ajout verrouillage auto sess...
|
13 |
if-shell "which vlock" "set-option -g lock-command vlock" |
14 |
if-shell "which vlock > /dev/null && test $(hostname) = raspberrypi && egrep -qvw '^192.168.0.(1|3)' <<< $SSH_CLIENT" "set-option lock-after-time 60" |
|
15 |
if-shell "which vlock" "bind-key x lock-client" |