summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-11-24 19:03:59 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-11-24 19:03:59 +0000
commit809902226e8e852858bef16e9045b570a1d8d035 (patch)
tree7cc1b9e57cbd9a722d81f7349345e95d9e1510b0 /examples
parent45ac2cc4e7662a64c6890ad767b82909a099f627 (diff)
Sync.
Diffstat (limited to 'examples')
-rw-r--r--examples/n-marriott.conf11
1 files changed, 10 insertions, 1 deletions
diff --git a/examples/n-marriott.conf b/examples/n-marriott.conf
index 43f7b2b3..6a047ec9 100644
--- a/examples/n-marriott.conf
+++ b/examples/n-marriott.conf
@@ -1,4 +1,4 @@
-# $Id: n-marriott.conf,v 1.10 2009-10-25 21:45:26 nicm Exp $
+# $Id: n-marriott.conf,v 1.11 2009-11-24 19:03:59 nicm Exp $
#
# By Nicholas Marriott. Public domain.
@@ -11,6 +11,7 @@ set -g lock-after-time 1800
# Default global window options.
setw -g remain-on-exit on
setw -g window-status-current-attr "underscore"
+#setw -g xterm-keys on
# Prefix key.
set -g prefix C-a
@@ -48,6 +49,10 @@ bind -n F4 run-shell 'mpc next >/dev/null 2>&1'
bind -n F5 run-shell 'mpc volume -5 >/dev/null 2>&1'
bind -n F6 run-shell 'mpc volume +5 >/dev/null 2>&1'
+# Hide and show window name from status line
+bind '-' setw window-status-format '#I'\; setw window-status-current-format '#I'
+bind '+' setw window-status-format '#I:#W#F'\; setw window-status-current-format '#I:#W#F'
+
# First session.
new -d -s0 -nirssi 'exec ssh -t natalya exec sh ~/bin/tmux-start'
setw -t0:0 monitor-activity on
@@ -69,6 +74,10 @@ neww -d
neww -d
neww -d
neww -d
+neww -d
+neww -d
+neww -d
+neww -d
# Second session.
new -d -s1