You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
# List each dmenu_ item in ~/.local/bin/dmenu
|
|
# Execute when selected
|
|
|
|
select_script() {
|
|
file=$(printf "$(xclip -o)" | dmenu -i -p "Download:")
|
|
|
|
youtube-dl --output '~/video/youtube/%title' $file
|
|
}
|
|
|
|
select_script
|