pipewire-controller: hyprland support
This commit is contained in:
parent
72b5ec72f2
commit
dd4dc5eadf
1 changed files with 6 additions and 2 deletions
|
@ -9,10 +9,14 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
snowhawk.sxhkd.enable = true;
|
snowhawk.sxhkd.enable = lib.mkDefault true;
|
||||||
|
|
||||||
services.sxhkd.keybindings = {
|
services.sxhkd.keybindings = lib.mkIf config.snowhawk.sxhkd.enable {
|
||||||
"XF86TouchpadOn" = "${lib.getExe pkgs.pipewire-controller}";
|
"XF86TouchpadOn" = "${lib.getExe pkgs.pipewire-controller}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland.settings.bind = lib.mkIf config.wayland.windowManager.hyprland.enable [
|
||||||
|
", XF86TouchpadOn, exec, ${lib.getExe pkgs.pipewire-controller}"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue