summaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-07-17 15:01:11 -0500
committerZachIR <zachir@librem.one>2025-07-17 15:01:11 -0500
commit3e8a012e4191bbe4da394049fef6e5df3ad9ef6f (patch)
treed5c862e1ef44838553b55309af2d6e06e49a6e7f /src/config.c
parent1eb6137572ab6c257ab6ab851d5d742167c18120 (diff)
Add -b flag for bottom
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 52e14d8..8239a24 100644
--- a/src/config.c
+++ b/src/config.c
@@ -319,6 +319,8 @@ bool parse_option(struct tofi *tofi, const char *filename, size_t lineno, const
free(config);
free(tmp);
}
+ } else if (strcasecmp(option, "bottom") == 0) {
+ tofi->anchor = ANCHOR_BOTTOM;
} else if (strcasecmp(option, "anchor") == 0) {
uint32_t val = parse_anchor(filename, lineno, value, &err);
if (!err) {