From c6c7c8541dde87b87d492465a1af3c585e5e19a0 Mon Sep 17 00:00:00 2001 From: Tristan Simas Date: Wed, 13 May 2020 14:52:22 -0400 Subject: Added OSC patch and changes xsetcolorname for live reloading pywal colors while keeping transparency --- x.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'x.c') diff --git a/x.c b/x.c index 8be4a04..47e4dea 100644 --- a/x.c +++ b/x.c @@ -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; } -- cgit v1.2.3