mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 08:23:50 -04:00
g13gui: Swap to using appdirs
This commit is contained in:
parent
6e5b5481b2
commit
b6a0bf9a7c
@ -1,7 +1,8 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
from xdg import xdg_config_home
|
from pathlib import Path
|
||||||
|
from appdirs import user_config_dir
|
||||||
|
|
||||||
PROGNAME = 'g13gui'
|
PROGNAME = 'g13gui'
|
||||||
VERSION = '0.1.0'
|
VERSION = '0.1.0'
|
||||||
PROFILES_CONFIG_PATH = xdg_config_home() / 'g13' / 'g13gui' / 'profiles.json'
|
PROFILES_CONFIG_PATH = Path(user_config_dir()) / 'g13' / 'g13gui' / 'profiles.json'
|
||||||
|
Loading…
Reference in New Issue
Block a user