mikeoertli / dose-amphetatmine-raycast

Raycast scripts to start/stop Amphetamine macOS app w/ duration or end time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raycast Amphetamine Control

Dose (Amphetamine) for Raycast

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>

Demo

Demo of Raycast Amphetamine Control

Installation

Raycast Logo

More information about installing/enabling Raycast Script Commands can be found on the official GitHub page.

Why Separate Scripts?

I wanted to have discrete Raycast commands available for commonly used durations.

Inspiration

Some inspiaration was taken from the Alfred Dose extension.

Known Issues

  • 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

Disclaimer

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.

Contact

This project on GitHub

About

Raycast scripts to start/stop Amphetamine macOS app w/ duration or end time.


Languages

Language:Shell 100.0%