From f8d4bdde3710316433680b6e140e229477a4b709 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Wed, 29 Mar 2023 08:14:03 +0200 Subject: [PATCH] Update 2023-03-29 08:14 OpenBSD/amd64 --- .bin/dexec_super | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 .bin/dexec_super 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 +