mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
[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 <git@dummy.com>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user