diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2014-12-28 19:26:29 -0500 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2014-12-28 19:26:29 -0500 |
commit | 59023d86f4275128751bcb84ecda5a630bf51857 (patch) | |
tree | ff9f17eba3bdfec0fac22332e1689a93b33209bb /src/redshift.h | |
parent | README: Add flattr button at the end (diff) | |
parent | redshift.1: Add description of hooks in man page (diff) | |
download | redshift-ng-59023d86f4275128751bcb84ecda5a630bf51857.tar.gz redshift-ng-59023d86f4275128751bcb84ecda5a630bf51857.tar.bz2 redshift-ng-59023d86f4275128751bcb84ecda5a630bf51857.tar.xz |
Merge branch 'hooks-dir'
Diffstat (limited to 'src/redshift.h')
-rw-r--r-- | src/redshift.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/redshift.h b/src/redshift.h index e8be4e6..5f4335c 100644 --- a/src/redshift.h +++ b/src/redshift.h @@ -24,6 +24,15 @@ #include <stdlib.h> +/* Periods of day. */ +typedef enum { + PERIOD_NONE = 0, + PERIOD_DAYTIME, + PERIOD_NIGHT, + PERIOD_TRANSITION +} period_t; + + /* Color setting */ typedef struct { int temperature; |