aboutsummaryrefslogtreecommitdiffstats
path: root/src/redshift.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/redshift.h9
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;