diff options
-rwxr-xr-x | gruake | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#!/bin/sh +# +# Guake-like show-and-hide terminal in a couple of lines of code. +# Powered by urxvt+tmux +################################################################################ + +if pid=$(pgrep -f 'urxvt.*gruake'); then + kill $pid +else + urxvt -name gruake -e sh -c 'tmux new -A -s gruake' +fi |