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