all repos — barito @ 91391e96c5b1ff0e2e0b4459193d690cec7edce1

an x11 bar

Rename to barito
Anirudh Oppiliappan x@icyphox.sh
Mon, 17 Jan 2022 11:07:07 +0530
commit

91391e96c5b1ff0e2e0b4459193d690cec7edce1

parent

1339acc11caca25ef066f8149093fd6be6cfca66

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M barito.cbarito.c

@@ -63,7 +63,7 @@ (unsigned char *)&above, 1);

Atom wm_name = XInternAtom(dpy, "_NET_WM_NAME", 0); Atom utf8string = XInternAtom(dpy, "UTF8_STRING", 0); - char *name = "icybar"; + char *name = "barito"; XChangeProperty(dpy, win, wm_name, utf8string, 8, PropModeReplace, (unsigned char *)name, strlen(name));

@@ -108,7 +108,7 @@ len = strlen(text);

XftTextExtentsUtf8(dpy, font, text, len, &ext); x = (WIDTH - ext.width) / 2; - y = (HEIGHT + ext.height) / 2; + y = (HEIGHT + ext.height) / 2 - 4; XftDrawStringUtf8(draw, color, font, x, y, text, len);