Re: Show off your Dwm configuration!

Inspired by a screenshot in the Juni screenshot thread I've implemented progress bar drawing and re-implemented the status colors patch. Status text parsing is a mess right now as it happens to reverse the input, but despite that it works quite good (see the volume bar in the upper right corner):

Edit: I fixed those parsing issues. The patch works as intended, as far as I can tell. Here's another screenshot from my laptop's:

Re: Show off your Dwm configuration!

@pksI saw your bitbucket repos. Coincidentally I also have a project named dstatus for dwm (forked it from trilby here). But I like your plugin approach. It is quite appealing. Can you tell me how much memory your dstatus process is taking while in action ? I am planning to keep these things under 1 mb.

Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain@github

Re: Show off your Dwm configuration!

illusionist wrote:

@pksI saw your bitbucket repos. Coincidentally I also have a project named dstatus for dwm (forked it from trilby here). But I like your plugin approach. It is quite appealing. Can you tell me how much memory your dstatus process is taking while in action ? I am planning to keep these things under 1 mb.

Well, it's not really that easy to point to a specific value. VIRT memory really isn't that interesting, as it also includes the size of loaded shared libraries as well. So dwm already got some 44MB of VIRT memory. If I only consider the resident size dstatus uses some 1864kB right now. I didn't care for tweaking memory though, it might sure be reduced further. If that was a hard requirement for you to use it you might remove plugins from being compiled and thus loaded on startup and tweak buffer sizes. I might take a look, as well.

Re: Show off your Dwm configuration!

How do you hide the focused window name from being displayed on the status bar? I know its in dwm.c somewhere.I managed to hide the squares from being added next to tags with open windows by commenting out the drawsquare functions, but how about the focused window title?

Re: Show off your Dwm configuration!

invisibleman__ wrote:

How do you hide the focused window name from being displayed on the status bar? I know its in dwm.c somewhere.I managed to hide the squares from being added next to tags with open windows by commenting out the drawsquare functions, but how about the focused window title?

You might want to take a look at this commit where I replaced my window titles by time. This at least points you to the right location.

Re: Show off your Dwm configuration!

invisibleman__ wrote:

How do you hide the focused window name from being displayed on the status bar? I know its in dwm.c somewhere.I managed to hide the squares from being added next to tags with open windows by commenting out the drawsquare functions, but how about the focused window title?

Re: Show off your Dwm configuration!

Re: Show off your Dwm configuration!

I'm a Psych major so not as up on the whole coding thing as some but I did do something kind of cool with my config.h to allow me to mess with what programs dwm starts with and what tab they start in without having to recompile every time. Basically I set classes of tag1-9 as starting in the appropriate window. In the .xinitrc I use xterm to assign classes to these programs (or at least their inital load). For noobs like me the nohup command is nice because I can spawn a GUI program without it being tied to a specific terminal emulator window.

Re: Show off your Dwm configuration!

Then allow me to offer some mentoring You can improve your posts by using code tags as described here

There is a link to that under the message post box as well/

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael FaradayYou assume people are rational and influenced by evidence. You must not work with the public much. -- Trilby----How to Ask Questions the Smart Way

Re: Show off your Dwm configuration!

A significant portion (if not a majority) of open source projects come from non-professional programmers. I've had many computer science students come to me wanting to learn to actually program (not that I'm qualified), as their bachelors degree just teaches them how to make (bad) web pages. If you want something done in java, they can do it ... well, maybe not; if you want someone to talk about doing something in java, they can talk about doing it. Other than that they don't really have any useful training.

Re: Show off your Dwm configuration!

This is my current DWM scrot

I applied three patches (systray, save_floats, fancybar) and I have a couple I have no idea how to repair (fibonacci and uselessgap - if anyone has any working, feel free to shoot me a msg) Still need to colors my Conky statusbar and improve the overall look.

Re: Show off your Dwm configuration!

Hi guys total newbie here, got inspired by unixporn on reddit, actually by Lehthanis (what a coincidence that his post is just before mine)Anyway here is my setup so far:Setup so farI'm pretty much fine with bare minimum for now, gonna make it nicer eventually, however can someone help with useless gaps, it's acting weird on bottom window in stack, every window on stack slightly changes gap on bottom, as seen in screenshot. I'm sure this is a known bug, but I can't seem to find a solution. It seems to me that alexx few posts ago has the same issue.

Re: Show off your Dwm configuration!

morowinder wrote:

Hi guys total newbie here, got inspired by unixporn on reddit, actually by Lehthanis (what a coincidence that his post is just before mine)Anyway here is my setup so far:Setup so farI'm pretty much fine with bare minimum for now, gonna make it nicer eventually, however can someone help with useless gaps, it's acting weird on bottom window in stack, every window on stack slightly changes gap on bottom, as seen in screenshot. I'm sure this is a known bug, but I can't seem to find a solution. It seems to me that alexx few posts ago has the same issue.