Re: [dev] syntog - toggle synaptics touchpad

2012-12-26 Thread Chris Hall
On Wed, Dec 26, 2012 at 9:40 PM, Peter A. Shevtsov petr.shevt...@gmail.com wrote: Chris, I was rude and wrong. Excuse me, I didn't want to insult you. No hard feelings, ty ~cjh

Re: [dev] syntog - toggle synaptics touchpad

2012-12-25 Thread Chris Hall
if you have synclient installed then enabling is synclient TouchpadOff=0 and disabling is synclient TouchpadOff=1 you can read the state via synclient -l I have a few lines of sh bound to mod-n to toggle. I really don't think this needs to be written in c considering it is just a few lines of

Re: [dev] syntog - toggle synaptics touchpad

2012-12-25 Thread Chris Hall
On Wed, Dec 26, 2012 at 7:52 AM, Comrade DOS suloevdmi...@gmail.com wrote: Next time plz read thread before write answer. ;) I did read the thread before I wrote my reply I was merely pointing out that there is an easier way, saying 'shell scripting' doesn't tell anyone anything useful.

Re: [dev] dev+unsubscribe-dig...@suckless.org

2012-12-25 Thread Chris Hall
On Wed, Dec 26, 2012 at 7:30 AM, Johny Why johny...@gmail.com wrote: dev+unsubscribe-dig...@suckless.org You send a message to that address (body isn't important). ~cjh

Re: [dev] syntog - toggle synaptics touchpad

2012-12-25 Thread Chris Hall
On Wed, Dec 26, 2012 at 4:04 PM, Peter A. Shevtsov petr.shevt...@gmail.com wrote: that xssstate is redundant in your perfect world where xautolock and xidle exists! The latter 2 suck hard, xssstate is useful in scripting and allows me to keep using slock. You seem to have taken me mentioning

Re: [dev] [dwmstatus] Mail counter

2012-12-25 Thread Chris Hall
On Sat, Dec 22, 2012 at 9:22 AM, Kurt Van Dijck kurt.van.di...@eia.be wrote: b) man 3 asprintf will eliminate 1/3 of your code afaik asprintf is a gnu extension and isn't posix, although it seems that both uclib and musl support it. ~cjh

Re: [dev] only first tag and can't switch to other tags

2012-11-28 Thread chris hall
On 28/11/12 16:21:35, Bryan Bennett wrote: You should modify the TAGKEYS define to use MODKEY|ShiftMask for view. What will you use for tagging then? ~cjh

Re: [dev] [suckless] Migration to git

2012-11-26 Thread chris hall
On Tue, Nov 27, 2012 at 8:50 AM, markus schnalke mei...@marmaro.de wrote: [2012-11-26 16:47] Roberto E. Vargas Caballero k...@shike2.com - History rewriting: git rebase or git filter-branch (btw: That's the worst feature a version control system can offer.) I disagree, IMO this is one of

Re: [dev] [dmenu] patch: default input text

2012-11-08 Thread chris hall
If you want dmenu to have 1 option as a default then what is wrong with the following: echo some default value | dmenu In your patch you have to delete text in order to use something other than the default, and once you have edited it then you cant reselect it. In the provided example above I can

[dev] [PATCH] tabbed spawn didn't take arg- into account

2012-08-19 Thread chris hall
In revision 143 spawn was changed so that it ignores the Arg passed and instead used cmd, this means that using spawn from within config.h will always spawn the command supplied at launch rather than the argument specified. I like the ability to spawn multiple different children (by using spawn