Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | redshift: Add hooks for user actions on period switch | Jon Lund Steffensen | 2014-12-28 | 1 | -0/+29 |
Hooks are executable scripts in ~/.config/redshift/hooks/ that are run when a certain event happens. The first parameter to the script indicates the event and further parameters may indicate more details about the event. The event "period-changed" is indicated when the period changes ("night", "daytime", "transition"). The second parameter is the old period and the third is the new period. The event is signaled when Redshift starts up with the old period set to "none". |