Added OSC patch and changes xsetcolorname for live reloading pywal colors while keeping transparency

This commit is contained in:
Tristan Simas
2020-05-13 14:52:22 -04:00
parent fdf3989005
commit c6c7c8541d
4 changed files with 19 additions and 5 deletions

2
x.c
View File

@ -814,6 +814,8 @@ xsetcolorname(int x, const char *name)
XftColorFree(xw.dpy, xw.vis, xw.cmap, &dc.col[x]);
dc.col[x] = ncolor;
if (x == defaultbg)
dc.col[defaultbg].color.alpha = (unsigned short)(0xffff * alpha);
return 0;
}