Skip to content

Instantly share code, notes, and snippets.

@dwiash
Created July 12, 2014 09:43
Show Gist options
  • Save dwiash/f9d4734fd27da79f6a57 to your computer and use it in GitHub Desktop.
Save dwiash/f9d4734fd27da79f6a57 to your computer and use it in GitHub Desktop.
Tmux powered top-down terminal (in xfce)
#!/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