summaryrefslogtreecommitdiff
path: root/portato/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/constants.py')
-rw-r--r--portato/constants.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/portato/constants.py b/portato/constants.py
index 309b774..4d68ab5 100644
--- a/portato/constants.py
+++ b/portato/constants.py
@@ -43,11 +43,16 @@ These should be set during the installation.
@var SOCKET: path to socket for communication between listener and GUI
@type SOCKET: string
"""
+import os
from os.path import join as pjoin
+HOME = os.environ["HOME"]
+
APP = "portato"
VERSION = "9999"
+SETTINGS_DIR = pjoin(HOME, "."+APP)
+
CONFIG_DIR = "/etc/portato/"
CONFIG_LOCATION = pjoin(CONFIG_DIR, "portato.cfg")