slock
slock copied to clipboard
How to change font size?
/* text size (must be a valid size) */
static const char * text_size = "fixed";
changing text_size variable results in core dump even though it compiles easily.
Also give support for changing the font
How do you fix it ? Could anyone give a solution?
add this line to your config.h file
static const char *text_size =
"-Sony-Fixed-Medium-R-Normal--24-170-100-100-C-120-ISO8859-1";
But first you should install the larger xorg-font via 'https://www.reddit.com/r/suckless/comments/rm5827/slock_f_doesnt_show_12x24_font/'.