Handle swaybar using sway font

This commit is contained in:
Mikkel Oscar Lyderik 2016-03-29 23:31:44 +02:00
parent a87a5dbdd5
commit d80466068a

View File

@ -35,9 +35,11 @@ uint32_t parse_position(const char *position) {
char *parse_font(const char *font) {
char *new_font = NULL;
if (strncmp("pango:", font, 6) == 0) {
new_font = strdup(font + 6);
font += 6;
}
new_font = strdup(font);
return new_font;
}