diff --git a/flake.lock b/flake.lock index a29561b8..4a502fb0 100644 --- a/flake.lock +++ b/flake.lock @@ -479,11 +479,11 @@ ] }, "locked": { - "lastModified": 1720303103, - "narHash": "sha256-gKShXeXvBkmVBk7gSmOe4dpQTfnPqUxq0NpJflOS89o=", + "lastModified": 1720327354, + "narHash": "sha256-WmerqMDayCNB4soarCE93YAG3Lj+RL7VrIdP89shuUw=", "owner": "alyraffauf", "repo": "nixhw", - "rev": "3c03f237fbd6d43c536bc0303986023cd06e9405", + "rev": "4bd5475d7b5e3dba78e0683b91a884c5e78af030", "type": "github" }, "original": { diff --git a/homeManagerModules/desktop/hyprland/default.nix b/homeManagerModules/desktop/hyprland/default.nix index fed48466..5078c805 100644 --- a/homeManagerModules/desktop/hyprland/default.nix +++ b/homeManagerModules/desktop/hyprland/default.nix @@ -417,10 +417,6 @@ bindl = , xf86audioprev, exec, ${media.prev} bindl = , xf86audionext, exec, ${media.next} - # Extra bindings for petalburg. - bind = , xf86launch4, exec, pp-adjuster - bind = , xf86launch2, exec, ${media.play} - # Screenshot with hyprshot. bind = , PRINT, exec, ${screenshot.screen} bind = ${modifier}, PRINT, exec, ${screenshot.region} diff --git a/hosts/petalburg/home.nix b/hosts/petalburg/home.nix index 83384dd3..d7abb6d4 100644 --- a/hosts/petalburg/home.nix +++ b/hosts/petalburg/home.nix @@ -9,6 +9,10 @@ sharedModules = [ { wayland.windowManager.hyprland.extraConfig = '' + # Extra bindings for petalburg. + bind = , xf86launch4, exec, ${lib.getExe inputs.nixhw.packages.${pkgs.system}.power-profile-adjuster} + bind = , xf86launch2, exec, ${lib.getExe pkgs.playerctl} play-pause + exec-once = ${lib.getExe inputs.iio-hyprland.packages.${pkgs.system}.default} "desc:Samsung Display Corp. 0x4152" '';