Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
78
.bin/OLD/dexec_super
Executable file
78
.bin/OLD/dexec_super
Executable file
@@ -0,0 +1,78 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
|
||||
KEYS="\
|
||||
cvs
|
||||
dalek
|
||||
git
|
||||
github
|
||||
inbox
|
||||
make-web
|
||||
mastodon
|
||||
matrix
|
||||
openbsd all
|
||||
openbsd bugs
|
||||
openbsd ports
|
||||
openbsd tech
|
||||
reddit
|
||||
shell
|
||||
telegram
|
||||
telegram-desktop
|
||||
tweety
|
||||
vorstand
|
||||
"
|
||||
|
||||
SEL=$(printf "$KEYS" | $DMENU_CMD -p "Next key" -b -l 20)
|
||||
|
||||
case "$SEL" in
|
||||
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"
|
||||
;;
|
||||
vorstand)
|
||||
texec "sftp vorstand@vorstand.uugrn.org"
|
||||
;;
|
||||
inbox)
|
||||
texec "ksh -ic mutt"
|
||||
;;
|
||||
reddit)
|
||||
texec "tuir"
|
||||
;;
|
||||
mastodon)
|
||||
texec "tuta"
|
||||
;;
|
||||
*ports)
|
||||
texec "ksh -ic mutt-openbsd-ports"
|
||||
;;
|
||||
*tech)
|
||||
texec "ksh -ic mutt-openbsd-tech"
|
||||
;;
|
||||
*bugs)
|
||||
texec "ksh -ic mutt-openbsd-bugs"
|
||||
;;
|
||||
github)
|
||||
$BROWSER https://github.com/c0dev0id
|
||||
;;
|
||||
git)
|
||||
$BROWSER https://git.uugrn.org/sdk
|
||||
;;
|
||||
make-web)
|
||||
texec 'ssh home.codevoid.de "cd ~/make-web && make install"'
|
||||
$BROWSER https://home.codevoid.de
|
||||
;;
|
||||
matrix)
|
||||
texec "gomuks"
|
||||
;;
|
||||
telegram)
|
||||
texec "tg"
|
||||
;;
|
||||
telegram-desktop)
|
||||
telegram-desktop
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user