View System Event Scripts

View System Event Scripts

This menu shows scripts that run on system events.

Add the System metadata to run your script on a system event

// System: unlock-screen

Available events:

  • suspend
  • resume
  • on-ac
  • on-battery
  • shutdown
  • lock-screen
  • unlock-screen
  • user-did-become-active
  • user-did-resign-active
  • Read about the available events here

Note: YMMV based on your specific machine setup.

Discuss Post