You are not logged in.

#1 2020-12-26 19:12:29

Coalms
Member
Registered: 2020-04-22
Posts: 59

[SOLVED]DWM tag customization

On DWM default build,every tag on top left has a little cube (on its top left) indicating if there is an active window on that tag or not,

I'm trying to expand that cube's width from 1x1(as it seems it is) to max(taking the full size of the current tag) but I cant find any options or patches or have good enough C knowledge to change that

any hints would be highly appreciated

also any patches for customizing that little cube are be welcome

thank you

Last edited by Coalms (2020-12-26 22:29:06)

Offline

#2 2020-12-26 19:32:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]DWM tag customization

There are a number of patches for customising the tags. If you prefer to roll your own, you could start here:
https://git.suckless.org/dwm/file/dwm.c.html#l723


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-12-26 21:29:16

Coalms
Member
Registered: 2020-04-22
Posts: 59

Re: [SOLVED]DWM tag customization

Apologies I might have misinformed , I wanted to state that I dont have a problem making things on my own but that I really cant find what I am looking for in the code, so either the name of the class of "how tags in status bar are drawn" or patch either way works


Edit:Uploaded an Image describing what I'm talking about in case I didn't come out comprehensive enough,red underline is what im talking about,white over-line is how long i want to extend it(well to max)
Image describing what I'm talking about

Last edited by Coalms (2020-12-26 21:43:49)

Offline

#4 2020-12-26 21:45:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]DWM tag customization

That's why I linked to a specific line in dwm.c: drw_rect is what you are looking for. If you read some of the other patches, eg., this one, you can get a sense of what is reuired.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-12-26 22:28:35

Coalms
Member
Registered: 2020-04-22
Posts: 59

Re: [SOLVED]DWM tag customization

Wah im stupid and ignorant , I instantly dismissed it thinking it was the wrong one, sorry and thank you, also Ill go meditate or smth

Offline

Board footer

Powered by FluxBB