You are not logged in.

#1 2010-05-28 14:39:19

sicpsnake
Member
From: Austin, TX.
Registered: 2010-02-25
Posts: 128
Website

DWM Client Titles

How can I remove the DWM Client Titles from the top bar? I used to know how to do this, but I forgot. I remember it involved editing dwm.c, but I cannot quite remember where.

I am sure you know what I mean, but here's a screenshot of what I'd like removed:
vNGZpMw

Offline

#2 2010-05-29 16:13:09

rejb
Member
Registered: 2010-05-26
Posts: 2

Re: DWM Client Titles

Changing

 715     if((dc.w = dc.x - x) > bh) {
 716         dc.x = x;
 717         if(m->sel) {
 718             col = m == selmon ? dc.sel : dc.norm;
 719             drawtext(m->sel->name, col, False);
 720             drawsquare(m->sel->isfixed, m->sel->isfloating, False, col);
 721         }
 722         else
 723             drawtext(NULL, dc.norm, False);
 724     }

to

 715     if((dc.w = dc.x - x) > bh) {
 716         dc.x = x;
 717         drawtext(NULL, dc.norm, False);
 718     }

should do the trick.

Offline

Board footer

Powered by FluxBB