refactor(config): reorganize config.toml into sections
- Move all settings into [general], [dock], [panel], [switcher], [notification] - Remove [desktop_widgets] section, move items to panel/general - Add dot notation support to config service for nested keys - Update all config references across codebase
This commit is contained in:
17 files changed
+204
-148
No files matched your search
+42
-32
@@ -1,34 +1,44 @@
|
||||
DEFAULT = {
|
||||
"debug": False,
|
||||
"dock_enabled": True,
|
||||
"dock_auto_hide": True,
|
||||
"dock_always_occluded": False,
|
||||
"dock_icon_size": 52,
|
||||
"hide_special_workspace": True,
|
||||
"dock_hide_special_workspace_apps": True,
|
||||
"notification_timeout": "5s",
|
||||
"notification_ignored_apps": ["Hyprshot"],
|
||||
"notification_limited_apps_history": ["Spotify"],
|
||||
"imac_button": True,
|
||||
"systray": True,
|
||||
"control_center": True,
|
||||
"search": True,
|
||||
"global_menu": True,
|
||||
"network": True,
|
||||
"battery": True,
|
||||
"notification_center": True,
|
||||
"workspace_indicator": True,
|
||||
"bluetooth": True,
|
||||
"date_time": True,
|
||||
"night_light_temperature": 4500,
|
||||
"notch": True,
|
||||
"custom_mods": True,
|
||||
"keyboard_layouts": ["us"],
|
||||
"switcher_live_preview": True,
|
||||
"switcher_live_preview_delay_ms": 200,
|
||||
"systray_ignore": ["blueman", "network"],
|
||||
"wallpapers_dir": "src/assets/wallpaper_example/",
|
||||
"osd": True,
|
||||
"window_switcher": True,
|
||||
"weather_location": "",
|
||||
"general": {
|
||||
"debug": False,
|
||||
"wallpapers_dir": "src/assets/wallpaper_example/",
|
||||
"keyboard_layouts": ["us"],
|
||||
"weather_location": "",
|
||||
},
|
||||
"dock": {
|
||||
"enabled": True,
|
||||
"auto_hide": True,
|
||||
"always_occluded": False,
|
||||
"icon_size": 52,
|
||||
"hide_special_workspace_apps": True,
|
||||
},
|
||||
"panel": {
|
||||
"imac_button": True,
|
||||
"systray": True,
|
||||
"systray_ignore": ["blueman", "network"],
|
||||
"control_center": True,
|
||||
"search": True,
|
||||
"global_menu": True,
|
||||
"network": True,
|
||||
"battery": True,
|
||||
"notification_center": True,
|
||||
"workspace_indicator": True,
|
||||
"bluetooth": True,
|
||||
"date_time": True,
|
||||
"night_light_temperature": 4500,
|
||||
"notch": True,
|
||||
"osd": True,
|
||||
"hide_special_workspace": True,
|
||||
"custom_mods": True,
|
||||
},
|
||||
"switcher": {
|
||||
"live_preview": True,
|
||||
"live_preview_delay_ms": 200,
|
||||
"window_switcher": True,
|
||||
},
|
||||
"notification": {
|
||||
"timeout": "5s",
|
||||
"ignored_apps": ["Hyprshot"],
|
||||
"limited_apps_history": ["Spotify"],
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user