Rename to barito
Anirudh Oppiliappan x@icyphox.sh
Mon, 17 Jan 2022 11:07:07 +0530
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
barito.c
→
barito.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);