1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash CONF_DIR="$HOME/.config/FLORA" mkdir -p ${CONF_DIR} # if args contains -c then don't append default conf path if [[ " ${@} " =~ " -c " ]]; then /usr/lib/flora/FLORA ${@} else /usr/lib/flora/FLORA -c ${CONF_DIR} ${@} fi