Jump to content

Search the Community

Showing results for tags 'caffeinate'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

Categories

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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 5 results

  1. 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
  2. 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
  3. Update: rewrote the entire thing as a bash script. It's much faster now. All the links are the same. Grab it if you want. Let me know if there are any bugs. (I couldn't find any). Caffeinate Control v2 v3 I just pushed a major update to my old Caffeinate workflow, and I figured I'd just start a new thread. It is a complete overhaul. Find version 2 3 on Packal.org: packal page. Option Configuration You can configure how you want Caffeinate to work for you. Do you want to keep the system awake? Just the display? Everything? Just type "caff configure" (or "caff c"), and you can set the options easily. If you want to change how it works later, then just run the config again. Change however frequent you want! Defaults We default to "i" or just to keep the system from idling (which lets you display turn off). Just run the config and choose more options to as you please. Multiple options are available by pressing cmd while clicking. Commands Just type "caff" to get started. It will tell you the status and give you the most relevant option first. Example Arguments "caff e" enables caffeinate indefinitely "caff d" disables caffeinate "caff 15 2" enables caffeinate for 15 hours and 2 minutes "caff 23" enables caffeinate for 23 minutes "caff 2h" enables caffeinate for 2 hours "caff configure" opens the configuration dialog "caff help" opens the help dialog. Here are some screenshots: Shows the status left in hours / minutes, depending on how much time is left. You can also see the configure and help entries in the bottom. I need to get around to uninstalling caffeine because I don't use it anymore. Configure the behavior of how you want it to sleep. Just select the options and press "Set Options". If you input one number, it defaults to minutes. If you put in two numbers, it interprets as hours and minutes. You can specify with arguments too. Feel free to type out the whole words "hours" or "minutes" or whatever part of them you want to. Here's the help, explaining it a tiny bit more. Click on "More Info..." to be taken to the caffeinate man page. If you get really excited about typing a lot of minutes, then we'll still let you know how many hours that is... (edited to add more pretty screenshots.)
  4. 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
  5. 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...