#!/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