mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 10:51:53 -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": {
|
"locked": {
|
||||||
"lastModified": 1720303103,
|
"lastModified": 1720327354,
|
||||||
"narHash": "sha256-gKShXeXvBkmVBk7gSmOe4dpQTfnPqUxq0NpJflOS89o=",
|
"narHash": "sha256-WmerqMDayCNB4soarCE93YAG3Lj+RL7VrIdP89shuUw=",
|
||||||
"owner": "alyraffauf",
|
"owner": "alyraffauf",
|
||||||
"repo": "nixhw",
|
"repo": "nixhw",
|
||||||
"rev": "3c03f237fbd6d43c536bc0303986023cd06e9405",
|
"rev": "4bd5475d7b5e3dba78e0683b91a884c5e78af030",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -417,10 +417,6 @@
|
||||||
bindl = , xf86audioprev, exec, ${media.prev}
|
bindl = , xf86audioprev, exec, ${media.prev}
|
||||||
bindl = , xf86audionext, exec, ${media.next}
|
bindl = , xf86audionext, exec, ${media.next}
|
||||||
|
|
||||||
# Extra bindings for petalburg.
|
|
||||||
bind = , xf86launch4, exec, pp-adjuster
|
|
||||||
bind = , xf86launch2, exec, ${media.play}
|
|
||||||
|
|
||||||
# Screenshot with hyprshot.
|
# Screenshot with hyprshot.
|
||||||
bind = , PRINT, exec, ${screenshot.screen}
|
bind = , PRINT, exec, ${screenshot.screen}
|
||||||
bind = ${modifier}, PRINT, exec, ${screenshot.region}
|
bind = ${modifier}, PRINT, exec, ${screenshot.region}
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
{
|
{
|
||||||
wayland.windowManager.hyprland.extraConfig = ''
|
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"
|
exec-once = ${lib.getExe inputs.iio-hyprland.packages.${pkgs.system}.default} "desc:Samsung Display Corp. 0x4152"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue