set -g status-right '' set -g status-left '' set -g allow-rename on set -g window-status-current-format '' set -g window-status-format '#{window_index}#{window_flags} #{=20:window_name}' bind-key Escape copy-mode bind-key C-b last-window #set -g status-utf8 on if-shell "test $(hostname) = raspberrypi" "set-option -g status-bg white" if-shell "test $(hostname) = section" "set-option -g status-bg red" if-shell "test $(hostname) = piledelinge" "set-option -g status-bg green" if-shell "which vlock" "set-option -g lock-command vlock" if-shell "which vlock > /dev/null && test $(hostname) = raspberrypi && egrep -qvw '^192.168.0.(1|3)' <<< $SSH_CLIENT" "set-option lock-after-time 60" if-shell "which vlock" "bind-key x lock-client"