[api] refactoring: CONFIG_PATH constant renamed to CONFIG_DIR

This commit is contained in:
Vinicius Moreira
2021-11-24 12:11:41 -03:00
parent 797bea4b6d
commit 47348c4b6c
8 changed files with 18 additions and 18 deletions

View File

@@ -5,7 +5,7 @@ from bauh import __app_name__
from bauh.api import user
CACHE_PATH = f'/var/cache/{__app_name__}' if user.is_root() else f'{Path.home()}/.cache/{__app_name__}'
CONFIG_PATH = f'/etc/{__app_name__}' if user.is_root() else f'{Path.home()}/.config/{__app_name__}'
CONFIG_DIR = f'/etc/{__app_name__}' if user.is_root() else f'{Path.home()}/.config/{__app_name__}'
USER_THEMES_PATH = '{}/.local/share/bauh/themes'.format(str(Path.home()))
DESKTOP_ENTRIES_DIR = '{}/.local/share/applications'.format(str(Path.home()))
TEMP_DIR = f'/tmp/{__app_name__}@{getuser()}'