summaryrefslogtreecommitdiff
path: root/.local/bin/topa
AgeCommit message (Expand)Author
2021-09-19yes pac, topa colorxyz
2021-09-18newsboat, mpvsel, refactorxyz
2021-09-18refactorxyz
2021-09-18refactorxyz
2021-09-18topa, all topxyz
etopts cfF:t:T: opt; do case $opt in c) tz_from="Asia/Shanghai";; f) tz_from="$(tzselect)";; F) tz_from="$OPTARG";; # one extra ',' at the end will not let `for tz in ...` loop one extra time? t) for i in $(seq "$OPTARG"); do tz_to="$(tzselect),$tz_to" done;; T) tz_to="$OPTARG,$tz_to";; \?) exit 1;; esac done shift $((OPTIND-1))