{"action":"created","issue":{"url":"https://api.github.com/repos/schachmat/wego/issues/116","repository_url":"https://api.github.com/repos/schachmat/wego","labels_url":"https://api.github.com/repos/schachmat/wego/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/schachmat/wego/issues/116/comments","events_url":"https://api.github.com/repos/schachmat/wego/issues/116/events","html_url":"https://github.com/schachmat/wego/issues/116","id":218750523,"number":116,"title":"Move config file to $XDG_CONFIG_HOME","user":{"login":"Bisaloo","id":10783929,"avatar_url":"https://avatars3.githubusercontent.com/u/10783929?v=3","gravatar_id":"","url":"https://api.github.com/users/Bisaloo","html_url":"https://github.com/Bisaloo","followers_url":"https://api.github.com/users/Bisaloo/followers","following_url":"https://api.github.com/users/Bisaloo/following{/other_user}","gists_url":"https://api.github.com/users/Bisaloo/gists{/gist_id}","starred_url":"https://api.github.com/users/Bisaloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bisaloo/subscriptions","organizations_url":"https://api.github.com/users/Bisaloo/orgs","repos_url":"https://api.github.com/users/Bisaloo/repos","events_url":"https://api.github.com/users/Bisaloo/events{/privacy}","received_events_url":"https://api.github.com/users/Bisaloo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-04-02T08:37:28Z","updated_at":"2017-04-02T14:06:28Z","closed_at":"2017-04-02T09:17:17Z","body":"The standard location for config files is not `$HOME` but `$XDG_CONFIG_HOME`, which default to `$HOME/.config/`.\r\n\r\nMore info:\r\n\r\n- https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html\r\n- https://wiki.archlinux.org/index.php/XDG_Base_Directory_support\r\n\r\nYou will find plenty of projects have moved their config files to `$XDG_CONFIG_HOME` to comply with this standard. I think `wego` should do the same and move the config to something like `$XDG_CONFIG_HOME/wego/wegorc`.\r\n\r\nBeyond standard compliance, this helps a lot users who want to sync config files between several computers. Instead of having files scattered all over `$HOME`, they are all tidy and neat in one place.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/schachmat/wego/issues/comments/290988535","html_url":"https://github.com/schachmat/wego/issues/116#issuecomment-290988535","issue_url":"https://api.github.com/repos/schachmat/wego/issues/116","id":290988535,"user":{"login":"Bisaloo","id":10783929,"avatar_url":"https://avatars3.githubusercontent.com/u/10783929?v=3","gravatar_id":"","url":"https://api.github.com/users/Bisaloo","html_url":"https://github.com/Bisaloo","followers_url":"https://api.github.com/users/Bisaloo/followers","following_url":"https://api.github.com/users/Bisaloo/following{/other_user}","gists_url":"https://api.github.com/users/Bisaloo/gists{/gist_id}","starred_url":"https://api.github.com/users/Bisaloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bisaloo/subscriptions","organizations_url":"https://api.github.com/users/Bisaloo/orgs","repos_url":"https://api.github.com/users/Bisaloo/repos","events_url":"https://api.github.com/users/Bisaloo/events{/privacy}","received_events_url":"https://api.github.com/users/Bisaloo/received_events","type":"User","site_admin":false},"created_at":"2017-04-02T14:06:28Z","updated_at":"2017-04-02T14:06:28Z","body":"@schachmat, would you be okay with moving the config file to `$HOME/.config/wego/wegorc` for non-XDG-compliant platforms?"}}
{"actor":{"display_login":"Bisaloo"}}