dotfiles/.bin/apps/reddit
2024-02-14 07:55:58 +01:00

21 lines
468 B
Bash
Executable File

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