Created
March 7, 2018 16:09
-
-
Save NickWoodhams/1de4ce89954a5c986f14ab49eba9725c to your computer and use it in GitHub Desktop.
Push Clipboard to Phone (Pushover App)
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/bash | |
clipboard="message=" | |
clipboard+=$(pbpaste) | |
curl -s \ | |
--form-string "token=" \ | |
--form-string "user=" \ | |
--form-string "$clipboard" \ | |
https://api.pushover.net/1/messages.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment