Closed sambles closed 6 years ago
Thanks! Currently on vacation, so might be a week or so before I can test these changes out.
Thanks, merged via rebase. Before I close this:
I reduced the font-size back to the default(1em
), does this or a setting of 1rem
scale for you as well, or do you still need to set it to 24
?
Also, I was able to get -family & -size working with this:
diff --git a/src/ui.c b/src/ui.c
index ea9817d..d221c98 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -194,7 +194,8 @@ static void attach_config_colors_to_screen(Config *config)
char *css;
int css_string_length = asprintf(&css,
"* {\n"
- "font: %s %s;\n"
+ "font-family: %s;\n"
+ "font-size: %s;\n"
"}\n"
"GtkLabel {\n"
"color: %s;\n"
If that doesn't work for you, what distro or version of gtk are you running?
Using 'font-family:' and 'font-size:' didn't seem to work for me, not sure why that was.
So append the size to 'font:' tag, it works but not the cleanest method i guess.