Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change font size? #4

Open
faizan-20 opened this issue Aug 24, 2022 · 3 comments
Open

How to change font size? #4

faizan-20 opened this issue Aug 24, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@faizan-20
Copy link

faizan-20 commented Aug 24, 2022

/* 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

@faizan-20 faizan-20 added the bug Something isn't working label Aug 24, 2022
@applejwjcat
Copy link

How do you fix it ? Could anyone give a solution?

@applejwjcat
Copy link

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";

@applejwjcat
Copy link

But first you should install the larger xorg-font via 'https://www.reddit.com/r/suckless/comments/rm5827/slock_f_doesnt_show_12x24_font/'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants