Jump to content

Search the Community

Showing results for tags 'caffeinate'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting


  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL




Found 4 results

  1. I had originally posted these workflows in a previous thread (Toggle Caffeine), but it had a bunch of different ones posted in it. I just updated both to have Alleyoop update functionality. Caffeine Toggle — (Github Repo) (Download) Just just "caf" to enable or disable caffeine. There are others with more functionality (i.e. activate for a number of minutes) if you want those. Caffeinate — (Github Repo) (Download) Caffeinate is a native Mountain Lion utility that does the same thing as caffeine, but it has no menu icon. In this workflow, you can set the time in minutes. Here is the readme.md file from Github: --- RequirementsOS X 10.8.x (Mountain Lion) DescriptionIn Mountain Lion (10.8), Apple introduced a utility called "Caffeinate" that basically replicates what the Caffeine utility (web | app storefrom Lighthead Software does. CommandsAvailable Commands: status — Shows whether caffeinate is active and returns the number of minutes if it is. en — Enables caffeinate. en "minutes" — Enables caffeinate for X minutes. dis — Disables caffeinate." Screenshots Caffeinate Activated Caffeinate Help Caffeinate Launch Caffeinate Status
  2. Prevent your computer from going to sleep. Type coffee to turn it on. Action with ⌥ to also prevent the display from going to sleep. If you give a value it’ll be active for that amount of time. It defaults to minutes, but will also understand seconds and hours. Run coffee again to manually turn it off. Download | Source
  3. Wrote a little shell script that calls the native macOS caffeinate binary to prevent macOS from sleeping. Not a ton of functionality, basically: default, 1 hour specify # of hours turn caffeination off It has notifications and sounds, which you can of course disable in the workflow editor if you like. Hope you all like it! Source code and download here: https://github.com/paulsri/alfred-caffeinate
  4. Another caffeinate workflow (uses the built-in "caffeinate" tool, *not* the third-party "Caffeine" app). Unlike the ones I found already, this one uses the result feedback mechanism extensively. You can create jobs with custom times. Any custom jobs you create are remembered and presented in the order of frequency of use. For instance, if you create a custom caffeinate job of 45 minutes once, it will show up in your list from the next run. And depending on how often you re-use that, it will bubble up or settle down in the list of available choices. And, of course, you can cancel existing jobs or reschedule them. This is how you configure the workflow if, for instance, you want display sleep to blocked too. This is the config file you'll need to edit to configure the caffeinate flags: Download it here: https://github.com/venkytv/alfred-caffeinate/raw/master/Alfred-Coffee.alfredworkflow Source: https://github.com/venkytv/alfred-caffeinate Written in perl and has no external dependencies. Will use the Time::Duration module, if available.
  • Create New...