Skip to content

Instantly share code, notes, and snippets.

@amka
Last active October 23, 2021 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amka/8bf9b556ce4e0f0a04013b8b6718560f to your computer and use it in GitHub Desktop.
Save amka/8bf9b556ce4e0f0a04013b8b6718560f to your computer and use it in GitHub Desktop.
Contract to share files vie Telegram using elementary OS Contractor
[Contractor Entry]
Name=Share via Telegram
Name[ru]=Поделиться в Telegram
MimeType=!node;
Exec=sh -c "flatpak run org.telegram.desktop -sendpath %f && notify-send 'File sent' '%f successfully sent via Telegram'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment