summaryrefslogtreecommitdiff
path: root/include/swaylock.h
diff options
context:
space:
mode:
authorPeter Kasza <peter.kasza@itinsight.hu>2019-05-05 11:29:44 +0200
committerDrew DeVault <sir@cmpwn.com>2019-05-05 09:25:59 -0600
commit183d1bd54926b061a8e81585944b80fb9ab0f619 (patch)
tree4d4a740ca4e69c6670f3a8a0e3726b68a0c1d1f0 /include/swaylock.h
parent84bfc6c7edf1465096f6663c6d931981bd924280 (diff)
Add fixed font-size option for indicator
This commit adds a new command line option called --font-size to specify a fixed font size in the indicator. The default value for font-size is 0, which means that the text will autoscale. Any other positive value will result in a fixed text size.
Diffstat (limited to 'include/swaylock.h')
-rw-r--r--include/swaylock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/swaylock.h b/include/swaylock.h
index 8bb8089..0ac629d 100644
--- a/include/swaylock.h
+++ b/include/swaylock.h
@@ -47,6 +47,7 @@ struct swaylock_args {
struct swaylock_colors colors;
enum background_mode mode;
char *font;
+ uint32_t font_size;
uint32_t radius;
uint32_t thickness;
bool ignore_empty;