Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script alternate in other languages / emulators #12

Open
kaustubhhiware opened this issue Nov 23, 2017 · 4 comments
Open

Add script alternate in other languages / emulators #12

kaustubhhiware opened this issue Nov 23, 2017 · 4 comments

Comments

@kaustubhhiware
Copy link
Owner

We can make full use of the inherit advantages of other languages, by adding alternatives in different languages.

Some alternatives off the top could be python, ruby, javascript.

@kaustubhhiware
Copy link
Owner Author

The python alternate is relatively easy to add.

@kaustubhhiware kaustubhhiware changed the title Add script alternate in other languages Add script alternate in other languages / emulators Nov 23, 2017
@athityakumar
Copy link
Contributor

I don't understand. Would these alternatives (say, the Python one) actually implement the same things as the bash script on it's own, or just call all the bash script lines with os?

@kaustubhhiware
Copy link
Owner Author

No, there are alternatives including pynotify module. It is possible the notification system in some languages does not use the default library (although I'm not sure of it), so let's see.

@athityakumar
Copy link
Contributor

Just thought I'd share the resources I gathered for Ruby. 😄

This Ruby gem seems to make it easier for having a Ruby script that takes care of the Mac part (using terminal-notifier dependency, I checked - it works). Not sure about this gem for the notify-send part though - it showed me a socket error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants