about summary refs log blame commit diff
path: root/scripts/videos
blob: f7a7a41ce845f4c88452cb10dc89933dc49b84bf (plain) (tree)
1
2
3
4
5
6
7
8
9

           
                                                                  





                            
#!/bin/bash

choice=$( (echo 1 | grep 0) | dmenu -p "Paste a link to a video:")
if [[ $choice == '' ]]; then
  echo "No input."
  exit 1
else
  mpv $choice
fi