Last active
March 18, 2016 20:15
-
-
Save dobladov/5074905e0031920484a5 to your computer and use it in GitHub Desktop.
Persicope Subtitles
This file contains hidden or 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
| ## /home/nye/.local/share/nautilus/scripts | |
| lang=$(zenity --list \ | |
| --text "Select a language" \ | |
| --radiolist \ | |
| --column "" \ | |
| --column "Language" \ | |
| TRUE es \ | |
| FALSE en ); | |
| if [ -z $lang] | |
| then | |
| exit | |
| fi | |
| notify-send -i "gnome-subtitles" "Periscope" "Searching $lang Subtitles!" | |
| periscope -l $lang "$@" | |
| notify-send -i "gnome-subtitles" "Periscope" "Finished!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment