Skip to content

Commit 3f2f46b

Browse files
committed
Fancier workspaces widget support
- icons - cartoony animated rail
1 parent 749722d commit 3f2f46b

File tree

4 files changed

+287
-79
lines changed

4 files changed

+287
-79
lines changed

config/data.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ def _get_config_var(setting_str: str):
7676
BAR_WORKSPACE_USE_CHINESE_NUMERALS = _get_config_var(
7777
"bar_workspace_use_chinese_numerals"
7878
)
79+
BAR_WORKSPACE_ICONS = config.get("bar_workspace_icons", {})
80+
BAR_WORKSPACE_START = config.get("bar_workspace_start", DEFAULTS["bar_workspace_start"])
81+
BAR_WORKSPACE_END = config.get("bar_workspace_end", DEFAULTS["bar_workspace_end"])
7982
BAR_HIDE_SPECIAL_WORKSPACE = _get_config_var("bar_hide_special_workspace")
8083
BAR_THEME = _get_config_var("bar_theme")
8184
DOCK_THEME = _get_config_var("dock_theme")

config/settings_constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161
"dock_enabled": True,
6262
"dock_icon_size": 28,
6363
"dock_always_show": False,
64+
"bar_workspace_start": 1,
65+
"bar_workspace_end": 10,
6466
"bar_workspace_show_number": False,
6567
"bar_workspace_use_chinese_numerals": False,
6668
"bar_hide_special_workspace": True,

0 commit comments

Comments
 (0)