Re: [hackers] [dwm] rm 2px padding, half lrpad for status text || Daniel Cousens
Please ignore Daniel's patches, they are removed again.
I pushed on the wrong chain by accident of him, just wanted to apply
the isfixed patch. Which will come in a minute...
BR,
Anselm
On 11 October 2017 at 09:19, <git_AT_suckless.org> wrote:
> commit 1dedaaab4a2ff4b67e2f17bbe7a4c164f362d6e7
> Author: Daniel Cousens <github_AT_dcousens.com>
> AuthorDate: Mon Apr 24 17:22:15 2017 +1000
> Commit: Daniel Cousens <github_AT_dcousens.com>
> CommitDate: Wed Oct 11 07:55:14 2017 +1100
>
> rm 2px padding, half lrpad for status text
>
> diff --git a/dwm.c b/dwm.c
> index 41c4914..55ed9a1 100644
> --- a/dwm.c
> +++ b/dwm.c
> _AT_@ -683,7 +683,7 @@ drawbar(Monitor *m)
> /* draw status first so it can be overdrawn by tags later */
> if (m == selmon) { /* status is only drawn on selected monitor */
> drw_setscheme(drw, scheme[SchemeStatus]);
> - sw = TEXTW(stext) - lrpad + 2; /* 2px right padding */
> + sw = TEXTW(stext) - lrpad/2;
> drw_text(drw, m->ww - sw, 0, sw, bh, 0, stext, 0);
> }
>
>
Received on Wed Oct 11 2017 - 09:28:15 CEST
This archive was generated by hypermail 2.3.0
: Wed Oct 11 2017 - 09:36:24 CEST