diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-17 19:09:27 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-17 19:09:27 +0200 |
commit | ad58b57df7b298bc3e25c578f590d44da3ce36c9 (patch) | |
tree | 28be43da790fa014e13a7284e5a5979537a8721a /dotfiles/scripts/videos | |
download | nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.tar.gz nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.tar.bz2 nixos-config-ad58b57df7b298bc3e25c578f590d44da3ce36c9.zip |
Initial commit
Diffstat (limited to '')
-rwxr-xr-x | dotfiles/scripts/videos | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/scripts/videos b/dotfiles/scripts/videos new file mode 100755 index 0000000..f7a7a41 --- /dev/null +++ b/dotfiles/scripts/videos @@ -0,0 +1,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 |