Use default desktop font (Gtk/FontName from XSettings) when the font is not specified in the config file

This commit is contained in:
o9000
2015-12-12 15:13:32 +01:00
parent 1b545f6bbe
commit 9a85f7f2c5
22 changed files with 340 additions and 78 deletions

View File

@@ -29,6 +29,7 @@ typedef struct ExecpBackend {
int icon_h;
char *tooltip;
gboolean centered;
gboolean has_font;
PangoFontDescription *font_desc;
Color font_color;
int continuous;
@@ -136,4 +137,6 @@ void execp_action(void *obj, int button);
// Returns 1 if the output has been updated and a redraw is needed.
gboolean read_execp(void *obj);
void execp_default_font_changed();
#endif // EXECPLUGIN_H