This is a collection of scripts for Raycast to control the Amphetamine macOS app.
It can start an Amphetamine session for:
- 1, 2, 4, 8, or 12 hour(s)
- indefinitely
- for any duration (
x
hours or minutes) - until 5pm
- until time
<param>
More information about installing/enabling Raycast Script Commands can be found on the official GitHub page.
I wanted to have discrete Raycast commands available for commonly used durations.
Some inspiaration was taken from the Alfred Dose extension.
- It would make sense to simply call the
dose-amphetamine-for-duration.sh
script from the others, so I may simplify at some point. - There is a lot of duplication
- Shell scripts are totally linear, no functions used
- Assumes BSD based
date
utility
This project is not in any way affiliated with Raycast or Amphetamine.
Raycast branding and logo are property of Raycast.
Amphetamine branding and logo are property of Amphetamine.