[cliplumber] Add comments

This commit is contained in:
lhark 2019-11-20 23:58:17 +00:00
parent 24a61ea701
commit d48be55b99

View file

@ -34,12 +34,13 @@ check_exists "$TERM_EMU" "mpv" "youtube-dl" &&
opts="$(printf "audio-search\n%s" "$opts")"
check_exists "dragon" &&
opts="$(printf "drag-n-drop\n%s" "$opts")"
# TODO: check requirements
# Enable additional features when the clipboard contains an URL
if [ -n "$urls" ] && check_exists "youtube-dl"; then
check_exists "mpv" &&
opts="$(printf "play\n%s" "$opts")"
opts="$(printf "download\n%s" "$opts")"
fi
# Load default choice last
check_exists "qrencode" "feh" &&
opts="$(printf "qr\n%s" "$opts")"