diff --git a/.bin/dexec_super b/.bin/dexec_super new file mode 100755 index 0000000..8514508 --- /dev/null +++ b/.bin/dexec_super @@ -0,0 +1,34 @@ +#!/bin/sh +. $HOME/.bin/_config + +KEYS="\ +openbsd +tweety +dalek +cvs +inbox +matrix +openbsd ports +openbsd tech +openbsd bugs +openbsd all +github +telegram +" + +SEL=$(printf "$KEYS" | $DMENU_CMD -p "Next key") + +case "$SEL" in + openbsd) texec "ssh -t openbsd.codevoid.de 'tmux -u attach || tmux -u'"; ;; + dalek) texec "ssh -t home.codevoid.de 'tmux -u attach || tmux -u'"; ;; + tweety) texec "ssh -t tweety.home.codevoid.de 'tmux -u attach || tmux -u'"; ;; + cvs) texec "ssh -t cvs.openbsd.org"; ;; + inbox) texec "ksh -ic mutt"; ;; + *ports) texec "ksh -ic mutt-openbsd-ports"; ;; + *tech) texec "ksh -ic mutt-openbsd-tech"; ;; + *bugs) texec "ksh -ic mutt-openbsd-bugs"; ;; + github) chrome https://github.com; ;; + matrix) texec "gomuks" ; ;; + telegram) texec "tg" ; ;; +esac +