Re: DWM Hackers Unite! Share (or request) dwm patches.

kcirick wrote:

I like the dwm's bar, but I don't really like the master/stack concept. I like how i3 manages clients, but it's very hard to hack and fine-tune the code to my liking. I just wish there was a happy median.

You should file a feature request at the i3 bugtracker, if you have sensible ideas for improvement i'm sure they will consider implementing them.

Ontopic: i'd be really interested in a dwm patch that allows hex-colors to be used in the status bar area, instead of global colors defined in the config.h like statuscolors does (which doesn't seem to apply to dwm > 5.7.2 anyway).

Re: DWM Hackers Unite! Share (or request) dwm patches.

there is a patch for statuscolors for dwm 5.8.Google it or look on github, it has been mentioned in the dwm patch thread.

I still want the hex-colors.

The statuscolor approach is, in my opinion, really poor.

This - and the ability to add a 1px border under the statusbar for purely selfish aesthetic reasons are the only reasons I have a quick play with other wm's. I always end up back with dwm though, you can't have everything I guess.

Re: DWM Hackers Unite! Share (or request) dwm patches.

there is a patch for statuscolors for dwm 5.8.Google it or look on github, it has been mentioned in the dwm patch thread.

I still want the hex-colors.

The statuscolor approach is, in my opinion, really poor.

This - and the ability to add a 1px border under the statusbar for purely selfish aesthetic reasons are the only reasons I have a quick play with other wm's. I always end up back with dwm though, you can't have everything I guess.

The hex colour patch maybe a little complicated, but adding 1px border under the stat bar should be fairly straight forward. Just look at drawbar() function.

Re: DWM Hackers Unite! Share (or request) dwm patches.

there is a patch for statuscolors for dwm 5.8.Google it or look on github, it has been mentioned in the dwm patch thread.

I still want the hex-colors.

The statuscolor approach is, in my opinion, really poor.

I think simongmzlj has a hex-colors patch. My patchset also has hex colors, but i have no single patch for that (anyway, through svn misusing the current version does not work, but i fix that later this day).

First of all, thanks for creating this patch. I am using it now. I've noticed that ClkTagBar didn't really work as it should. For example, if I have Tag1 and Tag3 occupied, and if I have Tag4 selected, and if I click on Tag3, it will actually go to Tag2, because without the patch, I would be clicking where it should say "Tag2". Conversely, if I want to select Tag9, then I would have to click somewhere where the window title is drawn where Tag9 would be without the patch. To avoid this, I made another modification:

Re: DWM Hackers Unite! Share (or request) dwm patches.

Hi folks, does anybody in here have a patch for click-to-focus with click-through, so that the application of the newly focused window also gets the buttonpress event?It's kind of hard to work with gimp, where I always have to double-click the things in the toolbox... And I don't want to use sloppy focus, because other image windows between the current one and the toolbox will get the foucs, when moving the cursor between those two.

Re: DWM Hackers Unite! Share (or request) dwm patches.

simongmzlj wrote:

I'm not interested in getting yet another conversation about how people configuring their dwm or in having yet another thread full of screenshots. I'm starting this thread so people have a channel to share their dwm patches and hacks. Feel free to make requests or ask for help as well with your own endeavors as well.

First of all, kudos for all the work in this thread. You made me switch from XMonad and I have the experience almost perfectly emulated.Only thing I can't seem to get working is your opacify patch. rxvt-unicode works as expected, but firefox and the likes are just... Invisible. I suppose it works for you, so I may be missing something or applied it wrongly. I'll check in a moment.

Anyway, I also created a repository at github with "my" dwm build. It has a bunch of patches featured here which you can apply in a specific order to a 5.8.2 vanilla dwm. Also a variant of the pidgin layout!

Re: DWM Hackers Unite! Share (or request) dwm patches.

Lokaltog wrote:

I don't think this qualifies as a patch or a hack, but it's a tip I think some of you may find useful:

I like icons in my statusbar, but I don't want to use a separate app like dzen2 just to show xbm icons when dwm already has a status bar, and I don't know how to patch dwm with xbm support. I've solved this problem by editing my dwm font (I use artwiz cure) and drawing icons in the font itself:

1) If your font is a pcf font, use pcf2bdf (available in AUR) to convert it to a bdf font2) Install gbdfed (available in AUR) and xorg-font-tools3) Open your bdf font in gbdfed and replace the glyphs you want with icons. It may be possible to use empty glyphs beyond 0xFF instead, but I haven't tried this.4) Change the font name if you want (Edit > Font Info > Font Properties), and save the font5) Use bdftopcf to compile the bdf font to pcf, and gzip it (this step is optional)6) Copy/move the font to an Xorg font dir, run fc-cache -vf and restart X7) Insert the symbols in your status bar script or in config.h if you want. I've made some symbols to indicate the layout mode that I use in config.h (see screenshot).

Re: DWM Hackers Unite! Share (or request) dwm patches.

Hi everyone.. i have a "problem" which is pretty amusing i would say:

I have dzen2 piped with conky in my top bar.

Dzen dissapears when i restart dwm , but when i restart X it appears again. Im guessing that the script in the .xinitrc which makes dwm restart in loop doesnt allow dzen to start again. Is there a solution for this problem? (Im using the startdwm script) in the wiki.