lol

Merge pull request #189301 from Baitinq/smart-wallpaper

authored by

Sandro and committed by
GitHub
ba469660 841c10f8

+38
+36
pkgs/tools/X11/smart-wallpaper/default.nix
··· 1 + { stdenvNoCC 2 + , lib 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , xdpyinfo 6 + , killall 7 + , xwinwrap 8 + }: 9 + 10 + stdenvNoCC.mkDerivation { 11 + pname = "smart-wallpaper"; 12 + version = "unstable-2022-09-01"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "Baitinq"; 16 + repo = "smart-wallpaper"; 17 + rev = "d175695d3485fb14144c1908eb3569b20caa6ba5"; 18 + sha256 = "sha256-cFgvuntdKPzdQJ7xE2DIT+aNAazocIhM6BBbcQOlryU="; 19 + }; 20 + 21 + nativeBuildInputs = [ makeWrapper ]; 22 + 23 + installPhase = '' 24 + install -Dm755 -t $out/bin smart-wallpaper 25 + wrapProgram $out/bin/smart-wallpaper \ 26 + --prefix PATH : ${lib.makeBinPath [ xdpyinfo killall xwinwrap ]} 27 + ''; 28 + 29 + meta = with lib; { 30 + homepage = "https://github.com/Baitinq/smart-wallpaper"; 31 + description = "A simple bash script that automatically changes your wallpaper depending on if its daytime or nighttime"; 32 + license = licenses.bsd2; 33 + maintainers = with maintainers; [ baitinq ]; 34 + platforms = platforms.linux; 35 + }; 36 + }
+2
pkgs/top-level/all-packages.nix
··· 9234 9234 9235 9235 nitrogen = callPackage ../tools/X11/nitrogen {}; 9236 9236 9237 + smart-wallpaper = callPackage ../tools/X11/smart-wallpaper { }; 9238 + 9237 9239 nms = callPackage ../tools/misc/nms { }; 9238 9240 9239 9241 nomachine-client = callPackage ../tools/admin/nomachine-client { };