Lokyr plugins

sephiroth74/awake

Keeps the Mac awake from a button beside the window's buttons: always, or while a tab runs a program

Version
0.1.0
License
MIT
Repository
https://github.com/sephiroth74/sleip-awake
Install
sleip add sephiroth74/awake

Capabilities

keep-awake process-read

Versions

VersionCapabilitiesChecksum
0.1.0keep-awake process-readsha256:46b78dbadffd…

README

☕ awake

A plugin of Lokyr: keeps the Mac awake from a button beside the window's buttons, always, or while a tab runs a program, as a long build, a download or an agent's work wants.

Use

The button beside the window's buttons shows the mode, and opens its menu:

The cup is in the accent color while the Mac is kept awake. The same modes are in View › Awake, the one in force ticked, and are commands for the command palette (⇧⌘P) and keys of your own: Sleep as Usual (awake.default), Stay Awake (awake.stay) and Sleep After Jobs (awake.after-jobs). Every launch of Lokyr starts in Default, so that a Mac never stays awake by surprise after a restart.

The Mac sleeps as usual again as Lokyr quits, or as the plugin is turned off or removed: Lokyr holds the system's power assertion for it, which pmset -g assertions lists as "Lokyr, kept awake by sephiroth74/awake".

Install

sleip add sephiroth74/awake

Capabilities

Develop

sleip check checks the plugin, sleip test runs its tests, and sleip dev links it into Lokyr, which reloads it at each save.

License

MIT, see LICENSE.