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 <[email protected]>:
> -----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 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+r07IACgkQoYgNqgF2egp4rgCdHpvFj1Q9XrGz+W1PaMBn7/rO
> Xl4An0OCkzKoWN1Cmv+Ijabu3usGZSXK
> =rcSR
> -----END PGP SIGNATURE-----
--
To unsubscribe, send mail to [email protected].