Files
bearhub/bauh/api/constants.py
Vinicius Moreira 60228eec97 [ui] feature: themes
2020-11-27 15:52:57 -03:00

9 lines
369 B
Python

import os
from pathlib import Path
CACHE_PATH = '{}/.cache/bauh'.format(str(Path.home()))
CONFIG_PATH = '{}/.config/bauh'.format(str(Path.home()))
USER_THEMES_PATH = '{}/.local/share/bauh/themes'.format(str(Path.home()))
DESKTOP_ENTRIES_DIR = '{}/.local/share/applications'.format(str(Path.home()))
TEMP_DIR = '/tmp/bauh{}'.format('_root' if os.getuid() == 0 else '')