Open settings (⌘ + ,) and configure a keyboard shortcut to enable or disable the application.
You can also configure a second keyboard shortcut to open the menu list. This allows you to navigate the menu using the keyboard:
You can select on or more applications in the "Stay awake while application is running" menu item. This will prevent your Mac from going to sleep while any of the selected applications is running.
Choose "Stay awake while process is running..." and enter a process id (PID). Use the
ps command (run
man ps in the Terminal for more information about
ps) to list the process ids of running processes. Enter the matching PID to prevent your Mac from sleeping while the process is running. This is useful for making sure, that a running script can finish.
The application creates power assertions while activated. You can use the command
pmset -g assertions in the Terminal.app (or any other terminal emulator) to list the currently active assertions:
Listed by owning process: pid 720(DGTSP): [0x00051d3b00019fef] 00:38:04 PreventUserIdleSystemSleep named: "Don't Go To Sleep Please" pid 720(DGTSP): [0x00051d3b00059fee] 00:38:04 PreventUserIdleDisplaySleep named: "Don't Go To Sleep Please" pid 720(DGTSP): [0x00051d3b00079ff0] 00:38:04 PreventSystemSleep named: "Don't Go To Sleep Please" ...