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 sh,
dev+unsubscribe-dig...@suckless.org
2012/12/25 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 consi
On Wed, Dec 26, 2012 at 7:52 AM, Comrade DOS 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.
~cjhexplain anything
On Wed, Dec 26, 2012 at 7:30 AM, Johny Why wrote:
> dev+unsubscribe-dig...@suckless.org
You send a message to that address (body isn't important).
~cjh
On 25/12/12 at 09:51pm, Chris Hall wrote:
> 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 b
On Wed, Dec 26, 2012 at 4:04 PM, Peter A. Shevtsov
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 alternatives as some kin
On Sat, Dec 22, 2012 at 9:22 AM, Kurt Van Dijck 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
Greetings.
On Wed, 26 Dec 2012 08:29:24 +0100 Chris Hall
wrote:
> On Sat, Dec 22, 2012 at 9:22 AM, Kurt Van Dijck 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.