From a390fc600366ef2cd4a88bacffae552012711018 Mon Sep 17 00:00:00 2001 From: pixel2175 Date: Wed, 13 Aug 2025 09:54:27 +0100 Subject: [PATCH] Add: doesn't show the title bar. --- patches/notitle/README.md | 5 +++++ patches/notitle/notitle.patch | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 patches/notitle/README.md create mode 100644 patches/notitle/notitle.patch diff --git a/patches/notitle/README.md b/patches/notitle/README.md new file mode 100644 index 0000000..b386ad2 --- /dev/null +++ b/patches/notitle/README.md @@ -0,0 +1,5 @@ +# Description +doesn't show the title. + +Authors +- [pixel](https://codeberg.org/pi66/) diff --git a/patches/notitle/notitle.patch b/patches/notitle/notitle.patch new file mode 100644 index 0000000..630c4b3 --- /dev/null +++ b/patches/notitle/notitle.patch @@ -0,0 +1,20 @@ +diff --git a/dwl.c b/dwl.c +index bf340d8..151aa99 100644 +--- a/dwl.c ++++ b/dwl.c +@@ -1613,15 +1613,9 @@ drawbar(Monitor *m) + + if ((w = m->b.width - tw - x) > m->b.height) { + if (c) { +- drwl_setscheme(m->drw, colors[m == selmon ? SchemeSel : SchemeNorm]); +- drwl_text(m->drw, x, 0, w, m->b.height, m->lrpad / 2, client_get_title(c), 0); +- if (c && c->isfloating) +- drwl_rect(m->drw, x + boxs, boxs, boxw, boxw, 0, 0); +- } else { + drwl_setscheme(m->drw, colors[SchemeNorm]); + drwl_rect(m->drw, x, 0, w, m->b.height, 1, 1); + } +- } + + wlr_scene_buffer_set_dest_size(m->scene_buffer, + m->b.real_width, m->b.real_height);