diff --git a/doppler.sh b/doppler.sh index bcbc9eb..b779857 100755 --- a/doppler.sh +++ b/doppler.sh @@ -24,14 +24,18 @@ fi case "${1}" in - -f | forecast) echo "Getting forecast from ${FORECAST_URL}..." + ${LINK_DOWNLOADER} ${FORECAST_URL} + ;; + + -ft | forecast-terminal) + notify-send "Getting forecast from ${FORECAST_URL}..." ${TERMINAL_APP} ${TERMINAL_OPTS} ${LINK_DOWNLOADER} ${FORECAST_URL} ;; -h | help | --help) - echo -e "\nUsage: ${0} [-f | forecast ], [-h, help, --help]\n" + echo -e "\nUsage: ${0} [-f | forecast ], [-ft, forecast-terminal], [-h, help, --help]\n" ;; *)