dwm

Suckless' dwm with my personal patches
git clone https://git.instinctive.eu/dwm.git
Log | Files | Refs | README | LICENSE

commit 8d6f194903522b371ccda12a6d963d0137bb6faa
parent 6c4c1faae4195889d35fbc104e29714d055e57e0
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date:   Sat, 20 May 2023 17:38:33 +0200

[patch] dwm-unicode_ellipsis-20222909-d3f93c7.diff

Diffstat:
Mdrw.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drw.c b/drw.c @@ -259,7 +259,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp usedfont = drw->fonts; if (!ellipsis_width && render) - ellipsis_width = drw_fontset_getwidth(drw, "..."); + ellipsis_width = drw_fontset_getwidth(drw, "…"); if (!invalid_width && render) invalid_width = drw_fontset_getwidth(drw, invalid); while (1) { @@ -321,7 +321,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp w -= invalid_width; } if (render && overflow) - drw_text(drw, ellipsis_x, y, ellipsis_w, h, 0, "...", invert); + drw_text(drw, ellipsis_x, y, ellipsis_w, h, 0, "…", invert); if (!*text || overflow) { break;