doppler.sh: -ft opens forecast in stand alone terminal
This commit is contained in:
parent
2242818f97
commit
f597d1285f
@ -24,14 +24,18 @@ fi
|
|||||||
|
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
|
|
||||||
|
|
||||||
-f | forecast)
|
-f | forecast)
|
||||||
echo "Getting forecast from ${FORECAST_URL}..."
|
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}
|
${TERMINAL_APP} ${TERMINAL_OPTS} ${LINK_DOWNLOADER} ${FORECAST_URL}
|
||||||
;;
|
;;
|
||||||
|
|
||||||
-h | help | --help)
|
-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"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user