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

+2
View File
@@ -133,6 +133,8 @@ class ApplicationSwitcher(Window):
self._rebuild()
def show_switcher(self) -> None:
if not config().get("window_switcher", True):
return
self._rebuild()
if not self.windows:
return