dwlb

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit ca9690c3791b1ce513fde1c7b976cdb984a6af59
parent 54c1b779a25a213fb76ea82cece80e8344990cae
Author: Janne Veteläinen <janne.vetelainen@elisanet.fi>
Date:   Fri, 19 Apr 2024 10:04:00 +0300

Correct color conversion

Diffstat:
Mdwlb.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dwlb.c b/dwlb.c @@ -1701,9 +1701,9 @@ start_systray(const char *parent_progname, const char *traymon, bool bottom) snprintf(traybg_arg, sizeof(traybg_arg), "--bg-color=#%02x%02x%02x", - (traybg_clr->red / 0x100), - (traybg_clr->green / 0x100), - (traybg_clr->blue) / 0x100); + (traybg_clr->red / 0x101), + (traybg_clr->green / 0x101), + (traybg_clr->blue) / 0x101); snprintf(traypath_maybe, sizeof(traypath_maybe), "%stray", parent_progname); if (access(traypath_maybe, X_OK) == 0)