Merge pull request #205315 from DPDmancul/master
wpaperd: init at 0.2.0
This commit is contained in:
commit
39a9b7fb6f
|
@ -3704,6 +3704,12 @@
|
|||
fingerprint = "4749 0887 CF3B 85A1 6355 C671 78C7 DD40 DF23 FB16";
|
||||
}];
|
||||
};
|
||||
DPDmancul = {
|
||||
name = "Davide Peressoni";
|
||||
email = "davide.peressoni@tuta.io";
|
||||
matrix = "@dpd-:matrix.org";
|
||||
githubId = 3186857;
|
||||
};
|
||||
dpercy = {
|
||||
email = "dpercy@dpercy.dev";
|
||||
github = "dpercy";
|
||||
|
|
36
pkgs/tools/wayland/wpaperd/default.nix
Normal file
36
pkgs/tools/wayland/wpaperd/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, pkg-config, libxkbcommon }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "wpaperd";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "danyspin97";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "n1zlC2afog0UazsJEBAzXpnhVDeP3xqpNGXlJ65umHQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
buildInputs = [
|
||||
libxkbcommon
|
||||
];
|
||||
|
||||
cargoSha256 = "8ZMdbJvedDqoDr2rhKM1TMB5N4aRde04x/9H212fe68=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Minimal wallpaper daemon for Wayland";
|
||||
longDescription = ''
|
||||
It allows the user to choose a different image for each output (aka for each monitor)
|
||||
just as swaybg. Moreover, a directory can be chosen and wpaperd will randomly choose
|
||||
an image from it. Optionally, the user can set a duration, after which the image
|
||||
displayed will be changed with another random one.
|
||||
'';
|
||||
homepage = "https://github.com/danyspin97/wpaperd";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ DPDmancul ];
|
||||
};
|
||||
}
|
|
@ -3999,6 +3999,8 @@ with pkgs;
|
|||
|
||||
wob = callPackage ../tools/wayland/wob { };
|
||||
|
||||
wpaperd = callPackage ../tools/wayland/wpaperd { };
|
||||
|
||||
wshowkeys = callPackage ../tools/wayland/wshowkeys { };
|
||||
|
||||
wtype = callPackage ../tools/wayland/wtype { };
|
||||
|
|
Loading…
Reference in a new issue