From ca0c23cce006ea3f7d793c5fa8eee6acff196470 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Sun, 30 Nov 2025 20:04:02 -0500 Subject: Integrate Quickshell-Overview with Qt6 fixes and automation scripts ## Overview This commit integrates the corrected Quickshell-Overview feature across all installation and update workflows. The overview provides an AGS alternative with live window previews toggled via Super+TAB keybind. ## Changes ### 1. Quickshell Overview QML Files - Added config/quickshell/overview/ subdirectory with Qt6-compatible QML - Includes 20+ files covering: * OverviewWindow.qml with proper clipping (no OpacityMask, uses QtQuick.Effects) * OverviewWidget.qml for window handling * Overview.qml main component with Hyprland integration * Common utilities and styling * Services for Hyprland data and global state management ### 2. copy.sh Updates - Removes default shell.qml that blocks quickshell named config detection - Auto-copies config/quickshell/overview to ~/.config/quickshell/overview/ - Updates old 'qs' startup commands to 'qs -c overview' - Handles both fresh installs and config overwrite scenarios ### 3. upgrade.sh Updates - Added config/quickshell/ to upgrade directory list - Excludes shell.qml to preserve overview config detection capability - Enables seamless upgrades without losing quickshell settings ### 4. IPC Command Fixes - Corrected OverviewToggle.sh to use proper 'qs ipc -c overview call overview toggle' - Fixed startup commands from old 'qs' to 'qs -c overview' - Hyprland-Dots now uses corrected toggle script ## Qt6 Compatibility - Replaced Qt5Compat.GraphicalEffects with QtQuick.Effects - Removed OpacityMask in favor of Qt6-compatible clipping technique - All QML properly imports Qt6 modules ## Release Script - release.sh automatically uses copy.sh, inheriting all quickshell updates ## Testing - Verified on target systems (Fedora 43 VM, jak-nixos) - qs -c overview successfully launches overview config when shell.qml is removed - IPC toggle commands work correctly within Wayland sessions ## Files Modified - config/quickshell/overview/* (20 new files) - copy.sh (enhanced QS handling) - upgrade.sh (added quickshell to upgrade paths) --- upgrade.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'upgrade.sh') diff --git a/upgrade.sh b/upgrade.sh index 07ee1f8b..45624c4f 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -91,6 +91,7 @@ declare -A directories=( ["config/waybar/"]="$HOME/.config/waybar/" ["config/cava/"]="$HOME/.config/cava/" ["config/ags/"]="$HOME/.config/ags/" + ["config/quickshell/"]="$HOME/.config/quickshell/" ["config/fastfetch/"]="$HOME/.config/fastfetch/" ["config/wallust/"]="$HOME/.config/wallust/" ["config/wlogout/"]="$HOME/.config/wlogout/" @@ -102,6 +103,7 @@ declare -A exclusions=( ["config/hypr/"]="--exclude=UserConfigs/ --exclude=UserScripts/" ["config/waybar/"]="--exclude=config --exclude=style.css" ["config/rofi/"]="--exclude=.current_wallpaper" + ["config/quickshell/"]="--exclude=shell.qml" # Add more exclusions as needed ) -- cgit v1.2.3