aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-09-03 18:52:44 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-09-03 18:52:44 +0000
commit32bceaa786fd3c6c767f9497aeb2c8002f1bb4cb (patch)
treec5dd544c9fea6b9be108dfc7094bf3e036def5e5 /config.h
parentterminal: prefer the advance width of ‘M’ over that of a space (diff)
parentconfig: codespell: setting has only two ‘t’ (diff)
Merge branch 'check-font-is-monospace'
Closes #704
Diffstat (limited to 'config.h')
-rw-r--r--config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.h b/config.h
index 40daaf3b..6646cca3 100644
--- a/config.h
+++ b/config.h
@@ -253,6 +253,7 @@ struct config {
off_t max_shm_pool_size;
float box_drawing_base_thickness;
bool box_drawing_solid_shades;
+ bool font_monospace_warn;
} tweak;
user_notifications_t notifications;
@@ -269,3 +270,6 @@ struct config *config_clone(const struct config *old);
bool config_font_parse(const char *pattern, struct config_font *font);
void config_font_list_destroy(struct config_font_list *font_list);
+
+bool check_if_font_is_monospaced(
+ const char *pattern, user_notifications_t *notifications);