[FIX] Allow setting quickshell package (#166)

* feat: Add config option to set quickshell package

* refactor: Use configured quickshell package for ipc calls

* fix: Fixes niri binds

---------

Co-authored-by: Eduardo Barreto Alexandre <[email protected]>
This commit is contained in:
Eduardo B. A.andEduardo Barreto Alexandre authored and GitHub committed 2025-09-05 22:24:07 -04:00
1 parent 353ee355a3
commit 9ba3bfb4db
1 file changed
+4 -4
+4 -4
View File
@@ -65,11 +65,11 @@
};
};
programs.niri.settings = lib.mkMerge let
quickShellIpc = spawn "${cfg.quickshell.package}/bin/qs" "-c" "DankMaterialShell" "ipc" "call";
in [
programs.niri.settings = lib.mkMerge [
(lib.mkIf cfg.enableKeybinds {
binds = {
binds = with config.lib.niri.actions; let
quickShellIpc = spawn "${cfg.quickshell.package}/bin/qs" "-c" "DankMaterialShell" "ipc" "call";
in {
"Mod+Space".action = quickShellIpc "spotlight" "toggle";
"Mod+V".action = quickShellIpc "clipboard" "toggle";
"Mod+M".action = quickShellIpc "processlist" "toggle";