mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
pop-launcher-plugin-brightness: init at 2022-08-07
This commit is contained in:
parent
823da5ed9c
commit
8bb03a5c4d
@ -48,6 +48,7 @@ let
|
|||||||
neuwaita-icon-theme = callPackage ./neuwaita-icon-theme { };
|
neuwaita-icon-theme = callPackage ./neuwaita-icon-theme { };
|
||||||
onagre = callPackage ./onagre { };
|
onagre = callPackage ./onagre { };
|
||||||
pop-launcher = callPackage ./pop-launcher.nix { };
|
pop-launcher = callPackage ./pop-launcher.nix { };
|
||||||
|
pop-launcher-plugin-brightness = callPackage ./pop-launcher-plugin-brightness { };
|
||||||
pop-launcher-plugin-duckduckgo-bangs =
|
pop-launcher-plugin-duckduckgo-bangs =
|
||||||
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
|
callPackage ./pop-launcher-plugin-duckduckgo-bangs.nix { };
|
||||||
pop-launcher-plugin-jetbrains = callPackage ./pop-launcher-plugin-jetbrains { };
|
pop-launcher-plugin-jetbrains = callPackage ./pop-launcher-plugin-jetbrains { };
|
||||||
|
30
pkgs/pop-launcher-plugin-brightness/default.nix
Normal file
30
pkgs/pop-launcher-plugin-brightness/default.nix
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ stdenv, lib, fetchFromGitHub, brightnessctl, python3Packages }:
|
||||||
|
|
||||||
|
python3Packages.buildPythonPackage rec {
|
||||||
|
pname = "pop-launcher-plugin-brightness";
|
||||||
|
version = "2022-08-07";
|
||||||
|
format = "other";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "lucas-dclrcq";
|
||||||
|
repo = "pop-launcher-brightness-plugin";
|
||||||
|
rev = "d77027a7f99061f52875f60b6aae10efd3163863";
|
||||||
|
sha256 = "sha256-5XUJx68N779MdYd1YNYi1QkBWRmgsrmXQblEciSzsiA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontBuild = true;
|
||||||
|
dontConfigure = true;
|
||||||
|
|
||||||
|
runtimeDependencies = [ brightnessctl ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -Dm644 plugin.ron -t $out/share/pop-launcher/plugins/bright
|
||||||
|
install -Dm755 bright -t $out/share/pop-launcher/plugins/bright
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/lucas-dclrcq/pop-launcher-brightness-plugin";
|
||||||
|
description = "Control your screen brightness via pop-launcher";
|
||||||
|
# It doesn't have a license so it is unfree by default.
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user