sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit d80466068aab90cbb14eb88868d684f14b91642c
parent a87a5dbdd5cf748649dbe33c1c5072a6aec08929
Author: Mikkel Oscar Lyderik <mikkeloscar@gmail.com>
Date:   Tue, 29 Mar 2016 23:31:44 +0200

Handle swaybar using sway font

Diffstat:
Mswaybar/config.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/swaybar/config.c b/swaybar/config.c @@ -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; }