-
-
Save abenson/0e58b52b856d97d2fbd2e783b5fafaed to your computer and use it in GitHub Desktop.
my mpv frontends
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
fname=$(zenity --file-selection 2>/dev/null) | |
if [ -r "$fname" ]; then | |
mpv "$fname" | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
url=$(zenity --entry --text="Enter URL:" 2>/dev/null) | |
if [ -n "$url" ]; then | |
mpv "$url" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment