-----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/mousebindings.lua").
>
> Sorry, my fault :)
Don't worry - it's working now.
Could you explain what this function is doing?
Is it simply pre-pending the directory to the config dir, and then loading the
file?
Thanks a lot,
Rainer
>
> Zsolt
>
>
> 2012/5/10 Rainer M Krug <[email protected]>: 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 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.
>
> Thanks for the offer.
>
> OK - pastebin it is, as I did not find any logs:
>
> rc.lua: http://pastebin.com/AXVENgAD
>
> mousebindings.lua: http://pastebin.com/m40pQ939
>
> Thanks,
>
> Rainer
>>>>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+r2oUACgkQoYgNqgF2egpNtwCeJ+28RJ0IOrONX2zsJfa/XUR8
XGIAnRq8AH6/reiFAR/KX7KkR5yvhdKs
=/EUc
-----END PGP SIGNATURE-----
--
To unsubscribe, send mail to [email protected].