Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
3
.bin/apps/audiodevice
Executable file
3
.bin/apps/audiodevice
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
sndioctl -q server.device=$(setaudio | $DMENU_CMD -p "Device" -l 10 | cut -b3)
|
||||
27
.bin/apps/email
Executable file
27
.bin/apps/email
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/sh
|
||||
|
||||
# ALIASES=$(ksh -ic alias | grep ^mutt- | cut -d= -f1)
|
||||
#
|
||||
# MAILBOX="imaps://mail.codevoid.de"
|
||||
#
|
||||
# SEL=$(printf "$ALIASES" | $DMENU_CMD -p Mutt)
|
||||
#
|
||||
# [ -z "$SEL" ] || texec $SEL
|
||||
|
||||
. $HOME/.bin/_config
|
||||
# MAILBOXES=$(cd ~/.emails && find Mailboxes/*/ \
|
||||
# -mindepth 1 -maxdepth 1 -type d \
|
||||
# -not -path "*/tmp*" \
|
||||
# -not -path "*/cur*" \
|
||||
# -not -path "*/new*")
|
||||
|
||||
MAILBOXES="$(print "t1 login sdk $(pass Internet/mail.codevoid.de | head -1)\nt1 list \"\" \"*\"\nt1 logout" \
|
||||
| openssl s_client -quiet -connect mail.codevoid.de:993 -crlf - 2>/dev/null \
|
||||
| grep "^\* LIST" | awk '{ print $NF }' | sort | dos2unix)"
|
||||
|
||||
|
||||
HOST="imaps://mail.codevoid.de"
|
||||
|
||||
SEL=$(echo "$MAILBOXES" | $DMENU_CMD -l 12 -p Mailbox)
|
||||
|
||||
[ -z "$SEL" ] || texec "mutt -F $HOME/.mutt/rc-account-private -f $HOST/$SEL"
|
||||
3
.bin/apps/mastodon
Executable file
3
.bin/apps/mastodon
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
texec "ksh -ic tuta"
|
||||
3
.bin/apps/matrix
Executable file
3
.bin/apps/matrix
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
texec "gomuks"
|
||||
19
.bin/apps/media.ccc.de
Executable file
19
.bin/apps/media.ccc.de
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
. ~/.bin/_config
|
||||
|
||||
if [ ! -f ~/.cache/media.ccc.list ]
|
||||
then
|
||||
media-ccc-list-update
|
||||
fi
|
||||
|
||||
# S=$(cat ~/.cache/media.ccc.list | fgrep '/webm-hd/' | fzf -i -e -d '/' --with-nth=-4,-3,-1)
|
||||
S=$(cat ~/.cache/media.ccc.list | fgrep '/webm-hd/' | $DMENU_CMD -p "Media CCC" -l 40)
|
||||
|
||||
if [ ! -z "$S" ]
|
||||
then
|
||||
echo "Playing: $S"
|
||||
mpv "$S"
|
||||
fi
|
||||
|
||||
|
||||
3
.bin/apps/midjourney
Executable file
3
.bin/apps/midjourney
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
chrome https://discord.com/channels/@me/1133396223613747240 &
|
||||
3
.bin/apps/mixer
Executable file
3
.bin/apps/mixer
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
texec "cmixer"
|
||||
24
.bin/apps/ports
Executable file
24
.bin/apps/ports
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
|
||||
# provides DMENU_CMD (dmenu + color parameter)
|
||||
. $HOME/.bin/_config
|
||||
|
||||
cd /usr/ports
|
||||
DIR=$( ls -1d */* mystuff/*/* | egrep -v '^pobj|^distfiles|^log|^plist|^packages|CVS|Makefile|\.tgz$' | $DMENU_CMD -p "Port" -l 20);
|
||||
if [ ! -z "$DIR" ]; then
|
||||
cd /usr/ports/$DIR
|
||||
DIR2=$(printf "%s\n\n%s\n%s\n%s\n %s\n" \
|
||||
"/usr/ports/$DIR" \
|
||||
"Package: $(make show=FULLPKGNAME)" \
|
||||
"Maintainer: $(make show=MAINTAINER)" \
|
||||
"Homepage: $(make show=HOMEPAGE)" \
|
||||
| $DMENU_CMD -p "Info" -l 20)
|
||||
if [ ! -z "$DIR2" ]; then
|
||||
case "$DIR2" in
|
||||
Homepage*) $BROWSER "$(make show=HOMEPAGE)" & ;;
|
||||
Package*) make show=FULLPKGNAME | xclip -r ;;
|
||||
Maintainer*) make show=MAINTAINER | xclip -r ;;
|
||||
*) cd "$DIR2"; port mark; sterm & ;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
20
.bin/apps/reddit
Executable file
20
.bin/apps/reddit
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
|
||||
SEL=$(printf "OpenBSD\nSpectrWM\nCommandline\nC_Programming\nADHD\nALL" \
|
||||
| $DMENU_CMD -p Subreddit)
|
||||
|
||||
case $SEL in
|
||||
"OpenBSD")
|
||||
texec "tuir -s openbsd"; ;;
|
||||
"SpectrWM")
|
||||
texec "tuir -s spectrwm"; ;;
|
||||
"ADHD")
|
||||
texec "tuir -s adhd+adhs"; ;;
|
||||
"Commandline")
|
||||
texec "tuir -s commandline"; ;;
|
||||
"C_Programming")
|
||||
texec "tuir -s C_programming"; ;;
|
||||
"All")
|
||||
texec "tuir"; ;;
|
||||
esac
|
||||
3
.bin/apps/telegram
Executable file
3
.bin/apps/telegram
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
telegram-desktop &
|
||||
3
.bin/apps/youtube
Executable file
3
.bin/apps/youtube
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
. $HOME/.bin/_config
|
||||
ytfzf -i ext --skip-thumb-download --rii -l
|
||||
Reference in New Issue
Block a user