diff options
| author | Don Williams <don.e.williams@gmail.com> | 2025-11-02 17:23:53 -0500 |
|---|---|---|
| committer | Don Williams <don.e.williams@gmail.com> | 2025-11-02 17:23:53 -0500 |
| commit | 7441f2cb05b6916ff7cb08a8c0f14b7ff865a1b1 (patch) | |
| tree | 26097b0f6063f1f388ca3f1882049ef055a50bb7 /COMMIT_MESSAGE_GUIDELINES.md | |
| parent | 4687cfc8c6786ebaae169e19219f1cf9f3be982d (diff) | |
feat: Add smart AGS/Quickshell fallback with OverviewToggle wrapper
Implements a robust fallback mechanism for desktop overview functionality
that handles both AGS and Quickshell installations gracefully.
Changes:
- Add OverviewToggle.sh wrapper script that tries Quickshell first,
falls back to AGS if unavailable or broken
- Update UserKeybinds.conf with new SUPER+A binding to OverviewToggle.sh
- Preserve original AGS and Quickshell keybinds as commented references
- Simplify copy.sh logic to enable both AGS and QS simultaneously
- Remove conflicting keybind toggle logic from copy.sh
Benefits:
- Users can have both AGS and Quickshell installed simultaneously
- Automatic fallback when one tool is broken or unavailable
- Quickshell preferred (tried first) as it's more performant
- Graceful degradation with user notification if neither available
- Auto-starts AGS if installed but not running
- Compatible with existing upgrade.sh and ComposeHyprConfigs.sh workflow
Technical details:
- OverviewToggle.sh checks for running processes before attempting toggle
- Uses hyprctl dispatch for Quickshell's global dispatcher
- Falls back to ags -t 'overview' with rofi cleanup for AGS
- Shows desktop notification if neither tool is available
- Script auto-made executable via existing chmod in copy.sh (line 1027)
Addresses: Issue where AGS and Quickshell have had recent stability
problems, requiring manual keybind switching between them
Diffstat (limited to 'COMMIT_MESSAGE_GUIDELINES.md')
0 files changed, 0 insertions, 0 deletions
