mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 01:33:55 -05:00
petalburg: add power-profiles-adjuster and move specific hyprland binds to home.nix
This commit is contained in:
parent
4d817c1f72
commit
b27ec564a0
|
@ -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": {
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue