From 183d1bd54926b061a8e81585944b80fb9ab0f619 Mon Sep 17 00:00:00 2001 From: Peter Kasza Date: Sun, 5 May 2019 11:29:44 +0200 Subject: 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. --- include/swaylock.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/swaylock.h') 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; -- cgit v1.2.3