summaryrefslogtreecommitdiff
path: root/sh/reco
AgeCommit message (Collapse)Author
2024-07-22reco, maybe fix, ;; after exit 1Xiao Pan
2024-07-22reco better prompt notificationXiao Pan
2024-07-22reco wait 1 second to remove notificationXiao Pan
2024-07-22reco fulscreen record flagXiao Pan
2024-02-23Reorganize shell scripts into sh dir, consider in the future fsh will have ↵Xiao Pan
different kinds of files
> getopts 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))