I use theme_path = os.getenv("HOME") .. "/.awesome_theme" and then
symlink whatever theme I'm using to $HOME/.awesome_theme.2009/5/14 James Rowe <[email protected]>: > * andreas ([email protected]) wrote: >> If i use "/home/andi/.config..." it works. Is there any way to make it >> independend from the username? Someone at irc used this, but i think >> it's still ugly: >> >> theme_path = awful.util.getdir("config") .. "/themes/shdb/theme.lua" > > Well, that does more than just expand tilde it also makes it possible > to get the config file if you or your distribution sets XDG_CONFIG_DIRS. > > Thanks, > > James > > -- Med Vänlig Hälsning: Gabriel Fornaeus -- To unsubscribe, send mail to [email protected].
