aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..5b242b4
--- /dev/null
+++ b/config.h
@@ -0,0 +1,23 @@
+/* colitur-x -- compile-time configuration, suckless style.
+ * Edit, `make`, done. There is no runtime config file by design. */
+
+static const char *font = "monospace:size=10";
+static const char *font_big = "monospace:size=14:bold";
+
+/* Liturgical colours, as the engine names them -> what to paint. */
+static const struct { const char *name, *bg, *fg; } palette[] = {
+ { "white", "#f7f5ef", "#1a1a1a" },
+ { "red", "#b03030", "#ffffff" },
+ { "violet", "#5a3a78", "#ffffff" },
+ { "green", "#2f6b3a", "#ffffff" },
+ { "black", "#202020", "#e0e0e0" },
+ { "rose", "#d9a0b0", "#1a1a1a" },
+};
+
+static const char *col_bg = "#141414"; /* window background */
+static const char *col_grid = "#3a3a3a"; /* cell borders */
+static const char *col_head = "#8a8a8a"; /* weekday headings */
+static const char *col_detail = "#e8e8e8"; /* detail pane text */
+static const char *col_rank1 = "#ffcc55"; /* I-class marker */
+
+enum { CELL_W = 122, CELL_H = 74, PAD = 10, HEAD_H = 46, DETAIL_H = 92 };