dwm-flexipatch icon indicating copy to clipboard operation
dwm-flexipatch copied to clipboard

Incorporating BAR_ALPHA_PATCH with XRDB_PATCH

Open UtkarshVerma opened this issue 3 years ago • 2 comments

I wanted to dynamically change alpha value of dwm so I implemented a hacky solution for this through https://github.com/UtkarshVerma/dwm/commit/838342f42c16b78d0e2152be1f1837fbb622fb59.

I think a better, and more scalable way for this would be to handle Xresources like it is handled in st-flexipatch through the resources array. But this was fine enough for me so I did it like this.

UtkarshVerma avatar Feb 17 '22 10:02 UtkarshVerma

Another alternative could be to use RGBA values in your ~/.Xresources file and add logic to handle those within dwm.

bakkeby avatar Feb 17 '22 12:02 bakkeby

The RGBA values in Xresources is really easy to implement, so I do think it would be better. This would also simplify the current logic where the scheme has to be styled twice, once for alpha and the other time for colour.

UtkarshVerma avatar Feb 17 '22 12:02 UtkarshVerma