aboutsummaryrefslogtreecommitdiff
path: root/main.c
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 /main.c
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 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index b036b9f6..4f7b027d 100644
--- a/main.c
+++ b/main.c
@@ -480,6 +480,11 @@ main(int argc, char *const *argv)
conf.presentation_timings = presentation_timings;
conf.hold_at_exit = hold;
+ if (conf.tweak.font_monospace_warn && conf.fonts[0].count > 0) {
+ check_if_font_is_monospaced(
+ conf.fonts[0].arr[0].pattern, &conf.notifications);
+ }
+
struct fdm *fdm = NULL;
struct reaper *reaper = NULL;
struct wayland *wayl = NULL;