2023-03-29 08:14:03 +02:00
|
|
|
#!/bin/sh
|
|
|
|
. $HOME/.bin/_config
|
|
|
|
|
|
|
|
KEYS="\
|
|
|
|
openbsd
|
|
|
|
tweety
|
|
|
|
dalek
|
|
|
|
cvs
|
|
|
|
inbox
|
|
|
|
matrix
|
|
|
|
openbsd ports
|
|
|
|
openbsd tech
|
|
|
|
openbsd bugs
|
|
|
|
openbsd all
|
2023-04-01 21:49:50 +02:00
|
|
|
vorstand
|
|
|
|
shell
|
2023-03-29 08:14:03 +02:00
|
|
|
github
|
|
|
|
telegram
|
|
|
|
"
|
|
|
|
|
2023-04-27 08:31:41 +02:00
|
|
|
SEL=$(printf "$KEYS" | $DMENU_CMD -p "Next key" -b -l 20)
|
2023-03-29 08:14:03 +02:00
|
|
|
|
|
|
|
case "$SEL" in
|
2023-04-01 21:49:50 +02:00
|
|
|
openbsd) texec "ssh -t openbsd.codevoid.de"; ;;
|
2023-03-29 08:14:03 +02:00
|
|
|
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"; ;;
|
2023-04-01 21:49:50 +02:00
|
|
|
shell) texec "ssh -t shell.uugrn.org"; ;;
|
|
|
|
vorstand) texec "sftp vorstand@vorstand.uugrn.org"; ;;
|
2023-03-29 08:14:03 +02:00
|
|
|
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
|
|
|
|
|