Skip to content

Instantly share code, notes, and snippets.

@MattPostlethwaite
Last active July 9, 2021 13:41
Show Gist options
  • Save MattPostlethwaite/2736a09cf044f938b21f4f2fe4e5bc17 to your computer and use it in GitHub Desktop.
Save MattPostlethwaite/2736a09cf044f938b21f4f2fe4e5bc17 to your computer and use it in GitHub Desktop.
Raycast Scripts
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Play Loud
# @raycast.mode silent
# @raycast.packageName Spotify
# Optional parameters:
# @raycast.icon images/spotify-logo.png
# Documentation:
# @raycast.description Plays current track in Spotify.
tell application "Spotify" to play
set volume output volume 75
#!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Play Quiet
# @raycast.mode silent
# @raycast.packageName Spotify
# Optional parameters:
# @raycast.icon images/spotify-logo.png
# Documentation:
# @raycast.description Plays current track in Spotify.
tell application "Spotify" to play
set volume output volume 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment