Add ability to get link from clipboard if none provided.

This commit is contained in:
CronyAkatsuki 2023-03-23 21:04:49 +01:00
parent e8f3cca8a9
commit 6a1c7bdc46

View File

@ -21,7 +21,9 @@ menu () {
main () {
load_config
menu $@
[ $# -eq 0 ] && link=$(xclip -sel c -o) || link="$@"
menu $link
}
main $@