Fix quickshell overlay script name and add Qt positioning modules

- Change writeShellScriptBin from 'qs' to 'quickshell' to match package name
- Add QtPositioning and QtLocation to QML2_IMPORT_PATH in overlay
- This should resolve the circular reference and QtPositioning module issues
This commit is contained in:
Celes Renata
2025-08-10 12:26:06 -07:00
parent c28d64fd23
commit 866a004fd2
+3 -3
View File
@@ -24,9 +24,9 @@
{
overlays.default = final: prev: {
# Enhanced quickshell with Qt5Compat support for dots-hyprland
quickshell = final.writeShellScriptBin "qs" ''
# Add Qt5Compat and quickshell config directories to QML import path
export QML2_IMPORT_PATH="${final.kdePackages.qt5compat}/lib/qt-6/qml:$HOME/.config/quickshell/ii:$HOME/.config/quickshell:$QML2_IMPORT_PATH"
quickshell = final.writeShellScriptBin "quickshell" ''
# Add Qt5Compat, QtPositioning, and quickshell config directories to QML import path
export QML2_IMPORT_PATH="${final.kdePackages.qt5compat}/lib/qt-6/qml:${final.kdePackages.qtpositioning}/lib/qt-6/qml:${final.kdePackages.qtlocation}/lib/qt-6/qml:$HOME/.config/quickshell/ii:$HOME/.config/quickshell:$QML2_IMPORT_PATH"
# Execute the original quickshell
exec ${quickshell.packages.${system}.default}/bin/qs "$@"