{"action":"opened","issue":{"url":"https://api.github.com/repos/awesomeWM/awesome/issues/218","labels_url":"https://api.github.com/repos/awesomeWM/awesome/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/awesomeWM/awesome/issues/218/comments","events_url":"https://api.github.com/repos/awesomeWM/awesome/issues/218/events","html_url":"https://github.com/awesomeWM/awesome/issues/218","id":74630704,"number":218,"title":"awful.util.getdir(\"config\") vs. `awesome -c CONFIG`","user":{"login":"ff2000","id":1973708,"avatar_url":"https://avatars.githubusercontent.com/u/1973708?v=3","gravatar_id":"","url":"https://api.github.com/users/ff2000","html_url":"https://github.com/ff2000","followers_url":"https://api.github.com/users/ff2000/followers","following_url":"https://api.github.com/users/ff2000/following{/other_user}","gists_url":"https://api.github.com/users/ff2000/gists{/gist_id}","starred_url":"https://api.github.com/users/ff2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ff2000/subscriptions","organizations_url":"https://api.github.com/users/ff2000/orgs","repos_url":"https://api.github.com/users/ff2000/repos","events_url":"https://api.github.com/users/ff2000/events{/privacy}","received_events_url":"https://api.github.com/users/ff2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-09T09:16:11Z","updated_at":"2015-05-09T09:16:11Z","closed_at":null,"body":"I ran into issues when trying to run Elv13 awesome-config. Scripts and resources get concatenated with awful.util.getdir(\"config\"). I wanted to simply run it safely without losing my current config, which turned out to be impossible as scripts were not found, because getdir always returns \"${XDG_CONFIG_HOME}/awesome\".\r\nI would expect this to return the actual location my rc.lua is stored, when I pass one. E.g. \"$HOME/test/awesome/\" when I run \"awesome -c $HOME/test/awesome/rc.lua\"."}}