Introduce a new OSDWindow implementation, expose keyboard layout configuration, and modernize dependency handling and helper utilities. - **New Features** - Added `keyboard_layouts` list (`us`, `np`) to `config.json` - Created `OSDWindow` class and updated `main.py` to use it - Introduced new service modules (`battery`, `brightness`, `capslock`, `network`, `mpris`, `todo`, `modus`) and expanded `services/__init__.py` - Added `CommandResult` and `run_command` helper in `utils/functions.py` - **Enhancements** - Upgraded numerous dependencies to newer versions and switched `fabric` to a git source - Replaced bare `except:` with `except Exception:` in `WiFiPasswordDialog` - Improved type hints (`NamedTuple`, `TypeVar`) and refactored JSON file helpers - Added property notifications for battery percentage, state, and presence - **Bug Fixes** - Fixed incorrect return type annotation in `read_json_file` - Corrected tick‑handler logic to avoid double registration - Properly notify listeners on battery property changes - Ensured proper exception handling and cleanup in utility functions
35 lines
823 B
JSON
35 lines
823 B
JSON
{
|
|
"wallpapers_dir": "~/Pictures/Wallpapers/",
|
|
"dock_position": "Bottom",
|
|
"terminal_command": "kitty -e",
|
|
"dock_enabled": true,
|
|
"dock_auto_hide": true,
|
|
"dock_always_occluded": false,
|
|
"dock_icon_size": 52,
|
|
"window_switcher_items_per_row": 10,
|
|
"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,
|
|
"keyboard_layouts": [
|
|
"us",
|
|
"np"
|
|
],
|
|
"dock": true,
|
|
"window_switcher": true,
|
|
"osd": true
|
|
}
|
|
|