You are not logged in.

#1 2012-12-10 15:56:55

paris3200
Member
Registered: 2012-12-08
Posts: 22

[SOLVED] Awesome - Error when using themes located in home directory.

I've just started using Awesome for the first time and am in the process of configuring it.  I copied the themes from /usr/share/awesome/themes/ to ~/.config/awesome/themes/.  I then edited rc.lua to point to the new location.  However no mater what theme I try to use I get the following error.

/home/paris3200/.config/awesome/rc.lua: 382 bad argument #-1 to '?' (string expected, got nil)
/home/paris3200/.config/awesome/rc.lua: 383 bad argument #-1 to '?' (string expected, got nil)

I've got no idea why the different file location would make a difference.  I have not edited the files in my home directory in either way.  The only thing I have done to them is changed myself to owner.  Any ideas on how to fix this.  I would really like to keep all configuration in my home directory instead of /usr/share/.

Last edited by paris3200 (2012-12-10 16:14:05)

Offline

#2 2012-12-10 16:03:06

kaszak696
Member
Registered: 2009-05-26
Posts: 543

Re: [SOLVED] Awesome - Error when using themes located in home directory.

Try something like this:

beautiful.init(awful.util.getdir("config") .. "/themes/THEME/theme.lua")

Last edited by kaszak696 (2012-12-10 16:03:56)


'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard

Offline

#3 2012-12-10 16:13:41

paris3200
Member
Registered: 2012-12-08
Posts: 22

Re: [SOLVED] Awesome - Error when using themes located in home directory.

That worked.  Thanks.

Offline

Board footer

Powered by FluxBB