Skip to content

rose-m/alflows

Repository files navigation

This repository contains some Alfred workflows for productivity. At the moment the following workflows are included:

See below for a detailed description of each.


Focus Mode

Focus Mode is designed to help getting into the zone, i.e. not being distracked from the work you want to get done. The keyword ist just focus - in order to start use focus <min> where <min> is the number of minutes you want to focus:

Starting Focus Mode

The command will do the following:

  1. Disable System Notifications
  2. Check if Slack is running - if so it will set your status to Focusing... as well as enable /dnd mode (using simulated keystrokes)
  3. Start a delay in the background to automatically revert 1. and 2. again

After Focus Mode has been enabled you can use focus again to show the remaining time and to easily cancel your focus mode prematurely.

Stopping Focus Mode

When disabling the workflow will wait 5 seconds before resetting Slack since this requires simulating keystrokes and you should just sit back and relax.

Workflow Icon by Freepik from www.flaticon.com.


Screencap

Screencap allows to easily start and stop screen captures using QuickTime Player. Furthermore, instead of saving directly as a .mov file, it provides the ability to directly transform the screen capture and store it as .gif.

Important: When stopping Screencap automatically cuts off a few seconds at the end - see the configuration variable cutoffend. For this as well as GIF transformation to work you need to have ffmpeg installed:

$ brew install ffmpeg

The usage is as follows:

  1. Start the screen capture recording with scr: Start Screen Capture It will allow you to select the captured area and start the recording by pressing QuickTime's record button.
  2. To stop the screen recording use one of the following:
    • scs <filename> to stop the recording and save the file as <filename>.mov inside your home folder Stop Screen Capture and save
    • scg <filename> to stop the recording and save the file as a GIF named <filename>.gif inside your home folder Stop Screen Capture and save as GIF

Hint: As you can probably guess - all GIFs embedded here were created using Screencap.

Workflow Icon by Freepik from www.flaticon.com.

About

Some Alfred Workflows for Productivity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages