Created
October 21, 2020 01:37
-
-
Save jdmcd/66d80d54b4b95f9c84b0e0dacc1643a1 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/osascript | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Basecamp Assignments | |
# @raycast.mode silent | |
# Optional parameters: | |
# @raycast.icon https://basecamp.com/favicon-32x32.png | |
tell application "Basecamp 3" to activate | |
tell application "System Events" | |
keystroke "j" using command down | |
keystroke "My Assignments" | |
keystroke return | |
end tell |
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
#!/bin/bash | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title End VPN | |
# @raycast.packageName VPN | |
# @raycast.mode compact | |
# Optional parameters: | |
# @raycast.icon https://s1.nordcdn.com/nordvpn/media/1.562.0/images/global/favicon/favicon-32x32.png | |
networksetup -disconnectpppoeservice "NordVPN OVPN" |
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
#!/bin/bash | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Start VPN | |
# @raycast.packageName VPN | |
# @raycast.mode compact | |
# Optional parameters: | |
# @raycast.icon https://s1.nordcdn.com/nordvpn/media/1.562.0/images/global/favicon/favicon-32x32.png | |
networksetup -connectpppoeservice "NordVPN OVPN" |
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
#!/bin/bash | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title VPN Status | |
# @raycast.packageName VPN | |
# @raycast.mode inline | |
# @raycast.refreshTime 10s | |
# Optional parameters: | |
# @raycast.icon https://s1.nordcdn.com/nordvpn/media/1.562.0/images/global/favicon/favicon-32x32.png | |
status=$(networksetup -showpppoestatus "NordVPN OVPN") | |
echo "$(echo "$status" | gsed 's/.*/\u&/')" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment