Update 2023-03-29 08:14 OpenBSD/amd64
This commit is contained in:
parent
1c014b7c3a
commit
f8d4bdde37
34
.bin/dexec_super
Executable file
34
.bin/dexec_super
Executable file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user