1 # Id: n-marriott.conf,v 1.11 2009-11-24 19:03:59 nicm Exp
3 # By Nicholas Marriott. Public domain.
5 # Default global options.
7 set -g status-right "%H:%M" # %d-%b-%y
8 set -g bell-action none
9 set -g lock-after-time 1800
11 # Default global window options.
12 setw -g remain-on-exit on
13 setw -g window-status-current-attr "underscore"
14 #setw -g xterm-keys on
21 # Keys to switch session.
36 bind F10 selectw -t:19
37 bind F11 selectw -t:20
38 bind F12 selectw -t:21
40 bind m setw monitor-activity
42 bind y setw force-width 81
43 bind u setw force-width 0
45 bind -n F1 run-shell 'mpc toggle >/dev/null 2>&1'
46 bind -n F2 run-shell 'mpc'
47 bind -n F3 run-shell 'mpc prev >/dev/null 2>&1'
48 bind -n F4 run-shell 'mpc next >/dev/null 2>&1'
49 bind -n F5 run-shell 'mpc volume -5 >/dev/null 2>&1'
50 bind -n F6 run-shell 'mpc volume +5 >/dev/null 2>&1'
52 # Hide and show window name from status line
53 bind '-' setw window-status-format '#I'\; setw window-status-current-format '#I'
54 bind '+' setw window-status-format '#I:#W#F'\; setw window-status-current-format '#I:#W#F'
57 new -d -s0 -nirssi 'exec ssh -t natalya exec sh ~/bin/tmux-start'
58 setw -t0:0 monitor-activity on
59 setw -t0:0 aggressive-resize on
60 set -t0 status-bg green
61 neww -d -ntodo 'exec emacs ~/TODO'
62 setw -t0:1 aggressive-resize on
63 neww -d -ntodo2 'exec emacs ~/TODO2'
64 setw -t0:2 aggressive-resize on
65 neww -d -nncmpc 'exec ncmpc -f ~/.ncmpc.conf'
66 setw -t0:3 aggressive-resize on
67 neww -d -nmutt 'exec mutt'
68 setw -t0:4 aggressive-resize on
84 set -t1 status-bg cyan
99 set -t2 status-bg yellow