Jump to content

Amphetamine Dose | Alfred Workflow


Recommended Posts

Posted (edited)

Amphetamine Dose | Alfred Workflow

 

A simple workflow that integrates with the Amphetamine app to keep your Mac awake. This workflow allows you to activate or deactivate Amphetamine and set it to stay awake for a specified number of minutes, all from within Alfred.

 

Review my code on GitHub.

To download it, click here.

 

Getting Started

Below you can see a list of commands supported:

 

  • Turn on Amphetamine (amp on)

amp-on.png?raw=true

Turn on Amphetamine to keep your Mac 

Keyword: amp on

 

  • Turn off Amphetamine (amp off)

amp-off.png?raw=true

Turn off Amphetamine to stop keeping your Mac awake:

Keyword: amp 

 

  • Set Amphetamine to stay awake for a specified number of minutes (ams)

ams.png?raw=true

Set Amphetamine to stay awake for a specified number of minutes. Only integer values are allowed:

Keyword: ams [number of minutes]

Example: `ams 30` will keep your Mac awake for 30 minutes.
 

Edited by Pedro Vázquez

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...