diff options
author | Tristan Simas <tristan.simas@mail.mcgill.ca> | 2020-05-13 14:52:22 -0400 |
---|---|---|
committer | Tristan Simas <tristan.simas@mail.mcgill.ca> | 2020-05-13 14:52:22 -0400 |
commit | c6c7c8541dde87b87d492465a1af3c585e5e19a0 (patch) | |
tree | c1357f580ca9be82571f3508a649d7655abeb1fe /x.c | |
parent | fdf3989005a9003b90a3e98d4ba5684d52f11d3c (diff) |
Added OSC patch and changes xsetcolorname for live reloading pywal colors while keeping transparency
Diffstat (limited to 'x.c')
-rw-r--r-- | x.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; } |