Skip to content

Releases: vanstrouble/dose-alfred-workflow

1.3.0

21 Feb 00:05
Compare
Choose a tag to compare

What's New in This Release?

New Feature: Stay Awake Until a Specific Time

You can now set Amphetamine to keep your Mac awake until a specific time. Simply use the amh command while holding the Option key and specify the target time in a 12-hour format.

  • Example: amh 12 30 (while holding Option) will keep your Mac awake until 12:30 PM or AM, depending on the current time.
  • Note: This feature only supports 12-hour format, not 24-hour format.

Hotkey Support for Quick Activation

  • You can now use Hotkeys to quickly turn Amphetamine on or off without typing commands in Alfred.
  • Hotkeys can be customized in the Alfred Workflow settings.

Enhanced Time Parsing for amh

  • amh now supports hours and minutes without requiring a strict format.
  • Example: amh 6 30 now correctly translates to 6 hours and 30 minutes instead of requiring amh 6 30.

Floating Point Hour Support

  • You can now specify durations in decimal format.
  • Example: amh 1.5 will set Amphetamine to stay awake for 1 hour and 30 minutes.

Bug Fixes & Improvements

  • Fixed an issue where setting the target hour to the current hour would result in a 24-hour delay instead of switching AM/PM.
  • Improved internal logic to ensure the most intuitive time selection.
  • Minor performance optimizations and improved input handling.

1.2.0

28 Jan 21:49
Compare
Choose a tag to compare

New Feature: Set Amphetamine to Stay Awake for Hours

You can now set Amphetamine to keep your Mac awake for a specified number of hours using the new amh command.

New Command:

  • amh [number of hours]: Keeps your Mac awake for the specified number of hours.

Example: amh 2 will keep your Mac awake for 2 hours.

1.0.0-stable

13 Dec 19:31
Compare
Choose a tag to compare

All features have been tested and verified on macOS Sonoma and Sequoia versions.