milluhgram / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
0 stars 0 forks source link

respect XDG standard #266

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set the environment variable XDG_CONFIG_HOME.
2. Autokey does not look in ${XDG_CONFIG_HOME}/autokey for its configuration.

I am using version 0.90.4-5 on Arch Linux, built from the Arch User Repository.

Reference: 
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

I would like for Autokey to use ${XDG_CONFIG_HOME}/autokey for its 
configuration, if that variable is set by the user.  If not set, fallback to 
~/.config/autokey.

Original issue reported on code.google.com by cwg...@gmail.com on 29 Nov 2013 at 5:26

GoogleCodeExporter commented 8 years ago
This is a simple fix.  Patch attached.

Original comment by cwg...@gmail.com on 29 Nov 2013 at 5:36

GoogleCodeExporter commented 8 years ago

Original comment by cwg...@gmail.com on 29 Nov 2013 at 6:09

Attachments: