dotfiles/.bin/apps/reddit

21 lines
468 B
Plaintext
Raw Normal View History

#!/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