Skip to content

Instantly share code, notes, and snippets.

@dobladov
Last active March 18, 2016 20:15
Show Gist options
  • Save dobladov/5074905e0031920484a5 to your computer and use it in GitHub Desktop.
Save dobladov/5074905e0031920484a5 to your computer and use it in GitHub Desktop.
Persicope Subtitles
## /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