Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

run hooks on startup/exit, enable/disable #335

@ghost

Description

currently, hooks are only executed when the period changes, eg transition>night, etc.
it would be nice if the hooks are also executed when redshift starts

Example use case:

  • the brightness hook sets brightness to 10% at night, this setting is stored
  • laptop shuts down
  • next day during day time, laptop starts, redshift starts, but brightness is still set to 10%, because no hook was executed on startup of redshift

If hooks are executed at startup, redshift does not know about the previous period, so 'none' would be an acceptable value.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions