You are not logged in.
Pages: 1
Ok, I've created a tmux script that launches all the necessary applications I need for one workspace.
Code as follows:
#!/bin/zsh
tmux new-session -d -s hub "irssi -c H"
tmux split-window -v "irssi -c RZ"
tmux split-window -h "irssi -c FN"
tmux select-pane -t 0
tmux split-window -h "irssi -c UN"
tmux new-window newsbeuter
tmux new-window rtorrent
tmux new-window zsh
tmux select-window -t 1
tmux -2 attach-session -t hub
What I'm wanting to do is put this in /usr/bin so I can launch it from dmenu. However, using "urxvt -e" is not working, rather, it sends tmux to a background process. What do I need to do in order to get this script to run from dmenu? As always, appreciate the help.
-jd
transcend to the fifth abode
Offline
You probably also need zsh -c, by the way you can launch urxvt only if necessary from within the script:
tty -s || exec urxvt -e zsh -c "$0"
Offline
Pages: 1