summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-25 15:59:42 +0100
committerPhil Jones <philj56@gmail.com>2022-06-25 15:59:42 +0100
commit335573a628ed6ff20640c881935e0648a4819c1a (patch)
treeb8a8056e877b97797c95814830b154e612591ea4 /src/main.c
parenta6c20eb3713fc5e4b2c8f4075762b899bf9c1857 (diff)
Add option to disable font hinting.
Also improve text on non-hidpi screens.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 120e7c2..3844bbd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -589,6 +589,7 @@ static void usage()
" --hide-cursor <true|false> Hide the cursor.\n"
" --horizontal <true|false> List results horizontally.\n"
" --history <true|false> Sort results by number of usages.\n"
+" --hint-font <true|false> Perform font hinting.\n"
);
}
@@ -626,6 +627,7 @@ static void parse_args(struct tofi *tofi, int argc, char *argv[])
{"horizontal", required_argument, NULL, 0},
{"hide-cursor", required_argument, NULL, 0},
{"history", required_argument, NULL, 0},
+ {"hint-font", required_argument, NULL, 0},
{NULL, 0, NULL, 0}
};
const char *short_options = ":hc:";