[dev] [dwm] pertag patch: error compiling

2012-01-31 Thread Davide Anchisi
Hi, I am trying to compile dwm (6.0) with the pertag patch (modifing dwm.c according to dwm-r1578-pertag.diff), but I get the following error: dwm.c:148:23: error: ‘tags’ undeclared here (not in a function) which refers to the line: const Layout *lts[LENGTH(tags) + 1]; Thanks for any suggest

Re: [dev] [dwm] pertag patch: error compiling

2012-01-31 Thread Bryan Bennett
Did the patch fail on any hunks? I'm thinking of config.def.h changes in particular. Did you merge changes from config.def.h into config.h? I'm currently using pertag with 6.0 just fine (though you don't want a diff against my setup, as there are significant changes against mainline in mine in add

Re: [dev] [dwm] pertag patch: error compiling

2012-01-31 Thread Davide Anchisi
2012/1/31 Bryan Bennett : > Did the patch fail on any hunks? I'm thinking of config.def.h changes in > particular. Did you merge changes from config.def.h into config.h? I only made minor changes to my config.h (new key bindings to lunch some application). Is there something I have to change in co

Re: [dev] [dwm] pertag patch: error compiling

2012-01-31 Thread Bryan Bennett
I just tested here and commented out my tags array in config.h to see if I could replicate the error you're getting. Sure enough - I get the exact same message, pointing to the exact same line. Check to make sure you're tags array in config.h is built properly. Attached you will find the version of

Re: [dev] [dwm] pertag patch: error compiling

2012-01-31 Thread Davide Anchisi
2012/1/31 Bryan Bennett : > I just tested here and commented out my tags array in config.h > to see if I could replicate the error you're getting. Sure enough - > I get the exact same message, pointing to the exact same line. > Check to make sure you're tags array in config.h is built > properly. A

[dev] [surf] toggle stylesheet patch

2012-01-31 Thread Nick
Hi gang, I recently took the time to rework a patch to surf which adds the ability to toggle between two stylesheets. I use this to impose a dark stylesheet, for when my eyes are less strong. I'll put it on the wiki in the next few days. The patch is against tip. Nick diff -r ac33ab13d1d0 con

Re: [dev] [surf] toggle stylesheet patch

2012-01-31 Thread Nick
Quoth Nick: > I recently took the time to rework a patch to surf which adds the > ability to toggle between two stylesheets. I use this to impose a > dark stylesheet, for when my eyes are less strong. Just realised that patch clashes the keybinding with my togglejs patch, so I'll change it to C

Re: [dev] [dwm] pertag patch: error compiling

2012-01-31 Thread Bryan Bennett
static const char *tags[] = { "WEB", "CODE", "MUSIC", "TERM", "CHAT" }; Just like it appears in dwm's config.def. You can look over my dwm config on my bitbucket[1], but I'm not sure how much you'll really get out of it. (Ignore the uglyness of .orig/.rej files...) [1]:https://bitbucket.org/bbenn

Re: [dev] [dwm] pertag patch: error compiling

2012-01-31 Thread Davide Anchisi
Got it! Thanks to your example. It was my fault. Thanks Bryan, Davide 2012/2/1 Bryan Bennett : > static const char *tags[] = { "WEB", "CODE", "MUSIC", "TERM", "CHAT" }; > Just like it appears in dwm's config.def. > > You can look over my dwm config on my bitbucket[1], but I'm not sure > how m

[dev] sbase TODO patch

2012-01-31 Thread Kurt H Maier
Might as well make my wishlist public. This is the stuff that would make sbase my fulltime coreutils replacement. I've tried to remove commands that boil down to simple shell scripts, but some might have snuck through. (Why is there a true.c? AT&T did fine with a no-op shell script. Ditto fals