[cliplumber] Add comments
This commit is contained in:
parent
24a61ea701
commit
d48be55b99
1 changed files with 2 additions and 1 deletions
|
@ -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")"
|
||||
|
||||
|
|
Loading…
Reference in a new issue