diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2015-12-28 10:59:30 -0500 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2015-12-28 10:59:30 -0500 |
commit | a68a6a237d5658f0ee87d906a815fd00b160ab60 (patch) | |
tree | 9fa60170eaba27cb87e56c569f52f72fa6183e3d | |
parent | Fix #284: Add sample configuration file (diff) | |
parent | Change documentation concerning hooks (diff) | |
download | redshift-ng-a68a6a237d5658f0ee87d906a815fd00b160ab60.tar.gz redshift-ng-a68a6a237d5658f0ee87d906a815fd00b160ab60.tar.bz2 redshift-ng-a68a6a237d5658f0ee87d906a815fd00b160ab60.tar.xz |
Merge pull request #281 from bebehei/patch-1
Change documentation concerning hooks
-rw-r--r-- | redshift.1 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -149,14 +149,14 @@ lat=55.7 lon=12.6 .fi .SH HOOKS -Executable files (e.g. scripts) placed in `~/.config/redshift/hooks' +Executables (e.g. scripts) placed in folder `~/.config/redshift/hooks' will be 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 also signaled when Redshift starts up with the old period set to -`none'. +`none'. Any dotfiles in the folder are skipped. A simple script to handle these events can be written like this: .IP |