From dfcf4656693718c822f66cc7c42b0712703a17ce Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 11 Sep 2023 08:23:18 +0400 Subject: [PATCH] fix 2 --- config/dwm/dwm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/dwm/dwm.c b/config/dwm/dwm.c index 8b42d2e5..6304e16e 100644 --- a/config/dwm/dwm.c +++ b/config/dwm/dwm.c @@ -869,7 +869,10 @@ drawstatusbar(Monitor *m, int bh, char* stext) { text = p; w += 2; /* 1px padding on both sides */ - ret = x = m->ww - w; + // ret = x = m->ww - w - stw; + // status2d fix + ret = m->ww - w; + x = m->ww - w - getsystraywidth(); drw_setscheme(drw, scheme[LENGTH(colors)]); drw->scheme[ColFg] = scheme[SchemeNorm][ColFg];