You are not logged in.

#1 2014-01-02 13:54:45

0x29a
Member
Registered: 2012-09-28
Posts: 101

DWM - Adding simple functionality

Hello there!

I've been wandering...
When I was using AwesomeWM, in Monocle mode I could've seen every window opened in my certain tag; pretty convenient, especially with extensive mouse usage at a time.
Unfortunately, in DWM only focused window name is displayed.

How can I modify config.h (preferably) in order to make DWM bar display name of every window opened in a tag?
Or maybe this thing lies deeper?

If somebody have had this conundrum before, or there is patch available, please don't hesitate to post links!

Thanks a lot in advance!


P.S.
Just to make sure You'll get me right, I've taken links to two random screenshots from google images:

http://fc06.deviantart.net/fs22/f/2008/ … gamlol.png  << AwesomeWM, check out window list on bar

http://fc09.deviantart.net/fs24/f/2007/ … PhrA0k.png << DWM, only focused window name is displayed.

Offline

#2 2014-01-02 15:27:23

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: DWM - Adding simple functionality

0x29a wrote:

How can I modify config.h (preferably) in order to make DWM bar display name of every window opened in a tag?
Or maybe this thing lies deeper?

You'll need to apply a patch: http://dwm.suckless.org/patches/fancybar

It's worth noting, though, that Awesome was originally forked from DWM in part because Awesome's creator wanted a more mouse-friendly environment, while DWM's limited mouse interactions were a deliberate design choice. Tags in Awesome also aren't really used as tags proper, so much as workspaces; see this blog post by a fellow Archer for more info on how window management is intended to be handled in DWM.  You can of course use DWM however you see fit, but to be frank: If you can't remember which clients you have assigned to particular tags and need the titlebar to remind you, you're doing it "wrong." wink It's a matter of simplifying your workspace and workflow.

Offline

#3 2014-01-02 17:50:33

0x29a
Member
Registered: 2012-09-28
Posts: 101

Re: DWM - Adding simple functionality

Thanks a lot! I'll try to apply this in a moment.

Nah, I'm pretty well organizized, with window rules and stuff... Everything is in it's right place. Thing is - I like to work in Monocle mode (default) and, sometimes, when I in.e. watch a movie on bed, and mouse is then only input available, such functionality is a life saver.

Offline

#4 2014-01-02 22:26:54

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: DWM - Adding simple functionality

There might have been a miscommunication here: I think that patch only displays window names; it doesn't turn the titlebar into a taskbar.  I could be wrong, but I believe you won't be able to switch client focus by clicking on it.  There's another patch on the list (directly under the one I linked to) that allows clicking, but it's older and more complex, so you may need to apply it by hand (i.e. copy-and-paste the lines in the appropriate spots of the appropriate files). If even that doesn't work, you'd need to write one of your own.

Offline

Board footer

Powered by FluxBB