updates
This commit is contained in:
55 files changed
+724
-543
No files matched your search
+4
-4
@@ -28,7 +28,7 @@ CURRENT_HEIGHT = screen.get_height()
|
||||
|
||||
|
||||
WALLPAPERS_DIR_DEFAULT = get_relative_path("../assets/wallpapers_example")
|
||||
CONFIG_FILE = get_relative_path("../config/json/config.json")
|
||||
CONFIG_FILE = get_relative_path("../config/assets/config.json")
|
||||
MATUGEN_STATE_FILE = os.path.join(CONFIG_DIR, "matugen")
|
||||
|
||||
WORKSPACE_NUMS = False
|
||||
@@ -40,7 +40,7 @@ DOCK_THEME = "Pills"
|
||||
|
||||
def load_config():
|
||||
"""Load the configuration from config.json"""
|
||||
config_path = os.path.expanduser(f"~/{APP_NAME_CAP}/config/json/config.json")
|
||||
config_path = os.path.expanduser(f"~/{APP_NAME_CAP}/config/assets/config.json")
|
||||
config = {}
|
||||
|
||||
if os.path.exists(config_path):
|
||||
@@ -69,7 +69,7 @@ if os.path.exists(CONFIG_FILE):
|
||||
WORKSPACE_USE_CHINESE_NUMERAL = config.get("workspace_use_chinese_numerals", False)
|
||||
WORKSPACE_DOTS = config.get("workspace_dots", False)
|
||||
WINDOW_SWITCHER_ITEMS_PER_ROW = config.get("window_switcher_items_per_row", 13)
|
||||
DOCK_HIDE_SPECIAL_WORKSPACE = config.get('dock_hide_special_workspace', True)
|
||||
DOCK_HIDE_SPECIAL_WORKSPACE = config.get("dock_hide_special_workspace", True)
|
||||
|
||||
NOTIF_POS = config.get(NOTIF_POS_KEY, NOTIF_POS_DEFAULT)
|
||||
|
||||
@@ -102,7 +102,7 @@ else:
|
||||
DOCK_ICON_SIZE = 20
|
||||
WINDOW_SWITCHER_ITEMS_PER_ROW = 13
|
||||
NOTIF_POS = NOTIF_POS_DEFAULT
|
||||
DOCK_HIDE_SPECIAL_WORKSPACE = True
|
||||
DOCK_HIDE_SPECIAL_WORKSPACE = True
|
||||
|
||||
DOCK_COMPONENTS_VISIBILITY = {
|
||||
"workspaces": True,
|
||||
|
||||
Reference in new issue
Block a user