Created
July 12, 2014 09:43
-
-
Save dwiash/f9d4734fd27da79f6a57 to your computer and use it in GitHub Desktop.
Tmux powered top-down terminal (in xfce)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# use this following line in the keyboard shortcut entry: | |
# xfce4-terminal --drop-down --command=/path/to/dwimux.sh | |
tm=$(tmux list-session) | |
if [ "$tm" ]; then | |
tmux a | |
else | |
tmux | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment