[hackers] [dwm] rm 2px padding, half lrpad for status text || Daniel Cousens

From: <git_AT_suckless.org>
Date: Wed, 11 Oct 2017 09:19:32 +0200 (CEST)

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:19:32 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 11 2017 - 09:24:58 CEST