1 2 3 4 5
#!/bin/sh : ${OSEL_GUI:=wofi -d} : ${OSEL_TERM:=fzf} if [ -t 2 ]; then $OSEL_TERM; else $OSEL_GUI; fi