Re: [dev] [dmenu] dmenu_run in C

2014-12-16 Thread Dimitris Papastamos
On Tue, Dec 16, 2014 at 12:41:35PM +0100, Anselm R Garbe wrote: > @sbase developers: > For sbase I would suggest to have some 9 command-like derivative that > works in systems (and one can rely on) that feature a non-sbase util > set by default, but to make it easy to always use the sbase version >

Re: [dev] [dmenu] dmenu_run in C

2014-12-16 Thread Anselm R Garbe
On 15 December 2014 at 16:42, Nick wrote: > Quoth Calvin Morrison: >> On 14 December 2014 at 11:44, M Farkas-Dyck wrote: >> > On 14/12/2014, Jonny Langley wrote: >> >> It adds just under 100 LOC, but means the shell scripts >> >> dmenu_{run,path} are unneeded. >> > >> > ; wc -l dmenu_^(run path)

Re: [dev] [dmenu] dmenu_run in C

2014-12-15 Thread Nick
Quoth Calvin Morrison: > On 14 December 2014 at 11:44, M Farkas-Dyck wrote: > > On 14/12/2014, Jonny Langley wrote: > >> It adds just under 100 LOC, but means the shell scripts > >> dmenu_{run,path} are unneeded. > > > > ; wc -l dmenu_^(run path) > > 2 dmenu_run > > 13 dmenu_path > > 15 total

Re: [dev] [dmenu] dmenu_run in C

2014-12-14 Thread Calvin Morrison
On 14 December 2014 at 11:44, M Farkas-Dyck wrote: > On 14/12/2014, Jonny Langley wrote: >> It adds just under 100 LOC, but means the shell scripts >> dmenu_{run,path} are unneeded. > > ; wc -l dmenu_^(run path) > 2 dmenu_run > 13 dmenu_path > 15 total how many lines of code is an interprete

Re: [dev] [dmenu] dmenu_run in C

2014-12-14 Thread M Farkas-Dyck
On 14/12/2014, Jonny Langley wrote: > It adds just under 100 LOC, but means the shell scripts > dmenu_{run,path} are unneeded. ; wc -l dmenu_^(run path) 2 dmenu_run 13 dmenu_path 15 total ;

[dev] [dmenu] dmenu_run in C

2014-12-13 Thread Jonny Langley
Hi, While browsing the wiki I came across a rewrite of dmenu_path in C written by cls [1] I've used this as the basis for the attached patch, which adds the functionality of dmenu_run into dmenu.c It adds just under 100 LOC, but means the shell scripts dmenu_{run,path} are unneeded. Comments, ad