-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/05/12 21:06, W Wlourf wrote:
> 
> 
> 
> 
> ----- Mail original -----
>> De : Zsolt Udvari <[email protected]> À : Rainer M Krug 
>> <[email protected]>; Awesome 
>> Mailinglist <[email protected]> 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 :)
>>>> 
>>>> 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({ 
>>> }, 3, function 
>>> () mymainmenu:toggle() end), awful.button({ }, 4, awful.tag.viewnext), 
>>> awful.button({ },
>>> 5, awful.tag.viewprev) )) - -- }}}
>>> 
>>> into the file mousebindings.lua and replace it in rc.lua with
>>> 
>>> 
>>> dopath("./mousebindings.lua")
>> 
>> 
>> Please check the output! Maybe ~/.xsession-errors, maybe in /var/log/*dm.log 
>> or similar. Or 
>> post your rc.lua to pastebin and we will check it.
>> 
> 
> Personnaly, I "use dofile" : config = awful.util.getdir("config")
> 
> dofile(config .. "/keybindings.lua") dofile(config .. "/menu.lua") 
> dofile(config .. 
> "/wiboxes.lua") dofile(config .. "/mousebindings.lua") dofile(config .. 
> "/rules.lua") 
> dofile(config .. "/signals.lua")
> 
> and it works just fine !
> 

Nice idea - I changed it to using the variable.

Thanks,

Rainer

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+svCcACgkQoYgNqgF2egrYAACdGzRPQVycLaZkd0yD9posM8R4
Uo0An38h0ycELrju83AsfO1hjb3gw23y
=Kv/+
-----END PGP SIGNATURE-----


-- 
To unsubscribe, send mail to [email protected].

Reply via email to