Browse Source

There is no scan anymore

Signed-off-by: fbt <fbt@fleshless.org>
master
Jack L. Frost 3 years ago
parent
commit
784ad95215
  1. 18
      ufwd

18
ufwd

@ -6,9 +6,6 @@ if ! [[ "$XDG_RUNTIME_DIR" ]]; then
XDG_RUNTIME_DIR="/run/user/$UID"
fi
# Defaults
cfg_scan_delay='30'
msg() { printf '%s\n' "$*"; }
err() { echo "$*" >&2; }
@ -46,22 +43,13 @@ main() {
while (( $# )); do
case "$1" in
(--help|-h) usage; return 0;;
(--workdir|-d) cfg_workdir+=( "$2" ); shift;;
(--scan-delay|-D) cfg_scan_delay="$2"; shift;;
(--notify|-n) flag_enable_notifications=1;;
(--clipboard|-c) flag_enable_clipboard=1;;
(--) shift; break;;
(-*)
err "Unknown key: $1"
usage
return 1
;;
(--workdir|-d) cfg_workdir+=( "$2" ); shift;;
(--) shift; break;;
(-*) err "Unknown key: $1"; usage; return 1;;
(*) break;;
esac
shift

Loading…
Cancel
Save