aboutsummaryrefslogtreecommitdiff
path: root/examples/mxey-start-tmux.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mxey-start-tmux.sh')
-rw-r--r--examples/mxey-start-tmux.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/mxey-start-tmux.sh b/examples/mxey-start-tmux.sh
new file mode 100644
index 00000000..fb062276
--- /dev/null
+++ b/examples/mxey-start-tmux.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+tmux attach
+if [[ $? = 1 ]]; then
+ tmux new-session -d -smain 'exec irssi'
+ tmux -smain set prefix '^H'
+ tmux -smain new-window -d -nherrie 'exec sudo herrie -c /home/mxey/etc/herrie/config'
+ tmux -smain new-window -d 'exec lynx'
+ exec tmux -smain attach
+fi