X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/d6435fdf1c58744d256c2f99fd941626cae23319..5251deb253a8da7a1e17a9e35a357968aa8c99ee:/bin/maif diff --git a/bin/maif b/bin/maif index e4e1d2a..63de4c9 100755 --- a/bin/maif +++ b/bin/maif @@ -25,14 +25,10 @@ while [[ $# -gt 0 ]]; do case $opt in -h|--help) usage; exit 0 ;; - -* ) - echo -e "\n Option does not exist : $opt\n" - usage; exit 1 ;; - *) args+=("$opt"); shift ;; esac done geometry="$(slop)" file="$(date "+%FT%T_${geometry%%+*}_maif.png")" -maim --geometry="${geometry}" $file +maim "${args[@]}" --geometry="${geometry}" $file