Closed lockie closed 6 years ago
It can be done with a global GTK3 theme override. Add this to your gtk.css
file:
calendar {
font-family: "DejaVu Sans Mono";
}
I think that will change the font for every GTK3 calendar widget, so I don't know how viable that is for you. But it should be a temporary workaround.
Thanks, this snippet did the trick! I'm not using GTK apps with calendars that much, so I guess I'm okay with this workaround.
I'm also seeking a way to change the font attributes (in my case, the size specifically, as it's tiny on my screen). I tried the gtk.css modification mentioned above, and I agree that it only seems to change the calendar section but not the timezones section.
In the absence of new feature in gsimplecal, does anyone know what css element would work on the timezones section?
The problem is selecting just the labels of gsimplecal. I haven't found a way to do that yet without modifying the source and naming the labels with gtk_widget_set_name().
A hacky solution is: create a new directory with a new GTK config and tell gsimplecal to use that directory as the config directory.
mkdir ~/.config/gsimplecal-config
)cp -r ~/.config/gtk-3.0 ~/.config/gsimplecal-config
label {font-size: 20px }
XDG_CONFIG_HOME=/home/yourname/.config/gsimplecal-config/ gsimplecal
Hello! Thanks for the delightful application! I have one minor feature request though. Is there any possibility to change the font used in calendar widget, except tweaking
gtk.css
(at which I've failed miserably)?