Skip to content

Commit 8a36f02

Browse files
committed
Fancier workspaces widget support
- icons - cartoony animated rail
1 parent 1805f67 commit 8a36f02

File tree

4 files changed

+276
-75
lines changed

4 files changed

+276
-75
lines changed

config/data.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ def load_config():
8383
BAR_WORKSPACE_SHOW_NUMBER = config.get("bar_workspace_show_number", DEFAULTS["bar_workspace_show_number"])
8484
BAR_WORKSPACE_USE_CHINESE_NUMERALS = config.get("bar_workspace_use_chinese_numerals", DEFAULTS["bar_workspace_use_chinese_numerals"])
8585
BAR_HIDE_SPECIAL_WORKSPACE = config.get("bar_hide_special_workspace", DEFAULTS["bar_hide_special_workspace"])
86+
BAR_WORKSPACE_ICONS = config.get("bar_workspace_icons", {})
87+
BAR_WORKSPACE_START = config.get("bar_workspace_start", DEFAULTS["bar_workspace_start"])
88+
BAR_WORKSPACE_END = config.get("bar_workspace_end", DEFAULTS["bar_workspace_end"])
8689
BAR_THEME = config.get("bar_theme", DEFAULTS["bar_theme"])
8790
DOCK_THEME = config.get("dock_theme", DEFAULTS["dock_theme"])
8891
PANEL_THEME = config.get("panel_theme", DEFAULTS["panel_theme"])

config/settings_constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
"dock_enabled": True,
6565
"dock_icon_size": 28,
6666
"dock_always_show": False,
67+
"bar_workspace_start": 1,
68+
"bar_workspace_end": 10,
6769
"bar_workspace_show_number": False,
6870
"bar_workspace_use_chinese_numerals": False,
6971
"bar_hide_special_workspace": True,

0 commit comments

Comments
 (0)