feat(config): wire up wallpapers_dir, osd, window_switcher, global_menu settings

- wallpapers_dir: read from config, fallback ~/Pictures/Wallpapers
- osd: skip show_audio_osd/show_brightness_osd when disabled
- window_switcher: skip show_switcher when disabled
- global_menu_cache_enabled: bypass GTK class cache when false
- global_menu_method: control discovery strategies (auto/hyprland/dbus)

All keys added to constants.py defaults, settings UI, and config.toml
This commit is contained in:
sankalp committed 2026-07-15 10:31:28 +05:45
1 parent e63a2c04a5
commit 9eb62d7ea3
7 files changed
+148 -55

No files matched your search

+5 -3
View File
@@ -1,5 +1,4 @@
DEFAULT = {
"wallpapers_dir": "~/Pictures/Wallpapers/",
"dock_enabled": True,
"dock_auto_hide": True,
"dock_always_occluded": False,
@@ -14,6 +13,8 @@ DEFAULT = {
"control_center": True,
"search": True,
"global_menu": True,
"global_menu_method": "hyprland",
"global_menu_cache_enabled": True,
"network": True,
"battery": True,
"notification_center": True,
@@ -23,9 +24,10 @@ DEFAULT = {
"night_light_temperature": 4500,
"custom_mods": True,
"keyboard_layouts": ["us", "np"],
"window_switcher": True,
"switcher_live_preview": True,
"switcher_live_preview_delay_ms": 200,
"osd": True,
"systray_ignore": ["blueman", "network"],
"wallpapers_dir": "~/Pictures/Wallpapers",
"osd": True,
"window_switcher": True,
}