add pp-adjuster

This commit is contained in:
Aly Raffauf 2024-07-10 10:04:32 -04:00
parent da24bdd435
commit 9b617fd1be
3 changed files with 27 additions and 1 deletions

View file

@ -583,6 +583,26 @@
"type": "github" "type": "github"
} }
}, },
"pp-adjuster": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1720620069,
"narHash": "sha256-fWHo+6xjXaTmkX9Gn/vIXSEWZAQqi46adrKyvT3CLps=",
"owner": "alyraffauf",
"repo": "pp-adjuster",
"rev": "bae61cf8f5964acb943997d9fb24b1217be534b2",
"type": "github"
},
"original": {
"owner": "alyraffauf",
"repo": "pp-adjuster",
"type": "github"
}
},
"raffauflabs": { "raffauflabs": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -615,6 +635,7 @@
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"nixvim": "nixvim", "nixvim": "nixvim",
"nur": "nur", "nur": "nur",
"pp-adjuster": "pp-adjuster",
"raffauflabs": "raffauflabs" "raffauflabs": "raffauflabs"
} }
}, },

View file

@ -39,6 +39,11 @@
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
pp-adjuster = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:alyraffauf/pp-adjuster";
};
raffauflabs = { raffauflabs = {
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
url = "github:alyraffauf/raffauflabs"; url = "github:alyraffauf/raffauflabs";

View file

@ -10,7 +10,7 @@
{ {
wayland.windowManager.hyprland.extraConfig = '' wayland.windowManager.hyprland.extraConfig = ''
# Extra bindings for petalburg. # Extra bindings for petalburg.
bind = , xf86launch4, exec, ${lib.getExe self.inputs.nixhw.packages.${pkgs.system}.power-profile-adjuster} bind = , xf86launch4, exec, ${lib.getExe self.inputs.pp-adjuster.packages.${pkgs.system}.default}
bind = , xf86launch2, exec, ${lib.getExe pkgs.playerctl} play-pause bind = , xf86launch2, exec, ${lib.getExe pkgs.playerctl} play-pause
exec-once = ${lib.getExe self.inputs.iio-hyprland.packages.${pkgs.system}.default} "desc:Samsung Display Corp. 0x4152" exec-once = ${lib.getExe self.inputs.iio-hyprland.packages.${pkgs.system}.default} "desc:Samsung Display Corp. 0x4152"