split rc.lua in separate files?

2012-05-10 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I am new to awesome / lua, but I simply love it. But I would like to edit my configuration and I am loosing overview in the rc.lua file. I thought about splitting rc.lua in a few other files (keybindings.lua, mousebindings.lua, widgets.lua, ...

Re: split rc.lua in separate files?

2012-05-10 Thread Zsolt Udvari
My configuration is splitted too. In rc.lua add dopath("keybindings.lua") and done :) 2012/5/10 Rainer M Krug : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi > > I am new to awesome / lua, but I simply love it. > > But I would like to edit my configuration and I am loosing overview in t

Re: split rc.lua in separate files?

2012-05-10 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 13:31, Zsolt Udvari wrote: > My configuration is splitted too. In rc.lua add dopath("keybindings.lua") and > done :) Thanks - brilliant. Cheers, Rainer > > 2012/5/10 Rainer M Krug : Hi > > I am new to awesome / lua, but I simply love

Re: Rules doesn't work?

2012-05-10 Thread Zsolt Udvari
> Problem is, it is created with name "Untitled", then its name set to > "Developer Tools...". So when you restart awesome, it can be matched > with "Developer Tools.*", however at launch with "Untitled", you > should check both. > > You can debug it, by adding a callback to empty rule at top: > >

Re: split rc.lua in separate files?

2012-05-10 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 13:41, Rainer M Krug wrote: > On 10/05/12 13:31, Zsolt Udvari wrote: >> My configuration is splitted too. In rc.lua add dopath("keybindings.lua") >> and done :) > > Thanks - brilliant. but not working as expected - actually not at all.

Re: split rc.lua in separate files?

2012-05-10 Thread Anurag Priyam
On Thu, May 10, 2012 at 4:55 PM, Rainer M Krug wrote: > I thought about splitting rc.lua in a few other files (keybindings.lua, > mousebindings.lua, > widgets.lua, ...) ant then call these from rc.lua, so that in rc.lua are > mainly recalls to the > other config files. How can I achieve this? Y

Re: split rc.lua in separate files?

2012-05-10 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 15:03, Anurag Priyam wrote: > On Thu, May 10, 2012 at 4:55 PM, Rainer M Krug wrote: >> I thought about splitting rc.lua in a few other files (keybindings.lua, >> mousebindings.lua, >> widgets.lua, ...) ant then call these from rc.lua, so

Re: split rc.lua in separate files?

2012-05-10 Thread Zsolt Udvari
>>> My configuration is splitted too. In rc.lua add dopath("keybindings.lua") >>> and done :) >> >> Thanks - brilliant. > > but not working as expected - actually not at all. > > > If I put the section: > > - -- {{{ Mouse bindings > root.buttons(awful.util.table.join( >                awful.button

Re: split rc.lua in separate files?

2012-05-10 Thread Gwenhael Le Moine
2012/5/10 Rainer M Krug : > If I put the section: > > - -- {{{ Mouse bindings > root.buttons(awful.util.table.join( >                awful.button({ }, 3, function () mymainmenu:toggle() end), >                awful.button({ }, 4, awful.tag.viewnext), >                awful.button({ }, 5, awful.tag.

Re: split rc.lua in separate files?

2012-05-10 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 16:29, Zsolt Udvari wrote: My configuration is splitted too. In rc.lua add dopath("keybindings.lua") and done :) >>> >>> Thanks - brilliant. >> >> but not working as expected - actually not at all. >> >> >> If I put the secti

Re: split rc.lua in separate files?

2012-05-10 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 16:35, Gwenhael Le Moine wrote: > 2012/5/10 Rainer M Krug : >> If I put the section: >> >> - -- {{{ Mouse bindings root.buttons(awful.util.table.join( awful.button({ >> }, 3, function () >> mymainmenu:toggle() end), awful.button({ }, 4, a

Re: split rc.lua in separate files?

2012-05-10 Thread Zsolt Udvari
Oooops, sorry. At me "dopath" is an own-created function: function dopath(file) dofile(DIRS["config"] .. file) end So you should use dofile("/home/krug/.config/awesome/mousebindings.lua"). Sorry, my fault :) Zsolt 2012/5/10 Rainer M Krug : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1

Re: split rc.lua in separate files?

2012-05-10 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 16:59, Zsolt Udvari wrote: > Oooops, sorry. At me "dopath" is an own-created function: Ah - that explains. > > function dopath(file) dofile(DIRS["config"] .. file) end > > So you should use dofile("/home/krug/.config/awesome/mousebindin

Re : split rc.lua in separate files?

2012-05-10 Thread W Wlourf
- Mail original - > De : Zsolt Udvari > À : Rainer M Krug ; Awesome Mailinglist > > Cc : > Envoyé le : Jeudi 10 mai 2012 16h29 > Objet : Re: split rc.lua in separate files? > My configuration is splitted too. In rc.lua add > dopath("keybindings.lua") and done :) >>> >>> Th

Re: split rc.lua in separate files?

2012-05-10 Thread Felipe Reyes
On Thu, May 10, 2012 at 06:33:55PM +0530, Anurag Priyam wrote: > You can checkout https://github.com/ierton/awesomerc-ierton. > Great work, I'll grab a couple of snippets from your setup :) Regards, !DSPAM:4fac4172250737085112393! -- To unsubscribe, send mail to awesome-unsubscr...@naquadah.

Re: awesome on kdm is slow

2012-05-10 Thread Jagadeesh Malakannavar
Thanks for your reply. I have posted about it in distro owner and he is looking into it Thanks From: Claudio Roberto França Pereira To: Jagadeesh Malakannavar Cc: "awesome@naquadah.org" Sent: Thursday, May 10, 2012 7:25 AM Subject: Re: awesome on kdm is sl