Add KDE wrapper scripts with proper QML paths for bluetooth and network

This commit is contained in:
Celes Renata
2025-11-30 22:55:45 -08:00
parent 21eacdaefd
commit 91efc576a9
3 changed files with 16 additions and 0 deletions
+10
View File
@@ -52,6 +52,16 @@ let
kdePackages.plasma-nm # KDE network manager
kdePackages.kconfig # KDE config module
kdePackages.kirigami # KDE UI framework
# Wrapper scripts for KDE tools with proper QML paths
(pkgs.writeShellScriptBin "kcmshell6-bluetooth" ''
export QML2_IMPORT_PATH="${pkgs.kdePackages.bluez-qt}/lib/qt-6/qml:${pkgs.kdePackages.bluedevil}/lib/qt-6/qml:${pkgs.kdePackages.plasma-nm}/lib/qt-6/qml:${pkgs.kdePackages.kconfig}/lib/qt-6/qml:${pkgs.kdePackages.kirigami}/lib/qt-6/qml"
exec ${pkgs.kdePackages.kcmutils}/bin/kcmshell6 kcm_bluetooth
'')
(pkgs.writeShellScriptBin "kcmshell6-network" ''
export QML2_IMPORT_PATH="${pkgs.kdePackages.plasma-nm}/lib/qt-6/qml:${pkgs.kdePackages.kconfig}/lib/qt-6/qml:${pkgs.kdePackages.kirigami}/lib/qt-6/qml"
exec ${pkgs.kdePackages.kcmutils}/bin/kcmshell6 kcm_networkmanagement
'')
];
# illogical-impulse-hyprland PKGBUILD