[dev] [dwm] [patch] Add DWM control FIFO implementing all existing keybinds

2014-01-29 Thread sin
Hi all, This is my first journey into the DWM code. I've added a FIFO control file that you can use to simulate any of the existing keybinds. The command names are similar to the functions implementing them. A simple example would be: echo -n term /tmp/dwm.fifo echo -n focusmon+

Re: [dev] [dwm] [patch] Add DWM control FIFO implementing all existing keybinds

2014-01-29 Thread sin
On Wed, Jan 29, 2014 at 12:38:25PM +, sin wrote: Hi all, This is my first journey into the DWM code. I've added a FIFO control file that you can use to simulate any of the existing keybinds. I updated the patch to consume all pending events instead of going back to select. I

Re: [dev] [dwm] [patch] Add DWM control FIFO implementing all existing keybinds

2014-01-29 Thread Carlos Torres
Hello sin, On 1/29/14, sin s...@2f30.org wrote: On Wed, Jan 29, 2014 at 12:38:25PM +, sin wrote: The latest patch is here: http://amnezia.2f30.org/u/sin/patches/0001-Add-DWM-control-FIFO.patch Do you really need all those do functions? it would seem to me that you could use the same

Re: [dev] [dwm] [patch] Add DWM control FIFO implementing all existing keybinds

2014-01-29 Thread sin
On Wed, Jan 29, 2014 at 08:45:30AM -0500, Carlos Torres wrote: Hello sin, On 1/29/14, sin s...@2f30.org wrote: On Wed, Jan 29, 2014 at 12:38:25PM +, sin wrote: The latest patch is here: http://amnezia.2f30.org/u/sin/patches/0001-Add-DWM-control-FIFO.patch Do you really need all

Re: [dev] [dwm] [patch] Add DWM control FIFO implementing all existing keybinds

2014-01-29 Thread YpN
Good evening, sin s...@2f30.org wrote: This is my first journey into the DWM code. I've added a FIFO control file that you can use to simulate any of the existing keybinds. Let me know if this is of interest to anyone and I will post it to the patches section on the wiki. Very nice! This

Re: [dev] [dwm] [patch] Add DWM control FIFO implementing all existing keybinds

2014-01-29 Thread sin
On Wed, Jan 29, 2014 at 09:39:56PM +0100, YpN wrote: Good evening, sin s...@2f30.org wrote: This is my first journey into the DWM code. I've added a FIFO control file that you can use to simulate any of the existing keybinds. Let me know if this is of interest to anyone and I will

Re: [dev] [dwm] [patch] Add DWM control FIFO implementing all existing keybinds

2014-01-29 Thread Nick
Quoth YpN: This is strange because I had the same idea for surf. It would be really interesting. Cool, I agree, much more useful and sensible than the possibilities for scripting with xprop that currently exist. Don't go overboard and turn it into uzbl though ;)