about summary refs log tree commit diff
path: root/pkgs/larbs-scripts/setbg.nix
blob: 1988f29c5fc693f53a1c0d75207dc55e67e7a0f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, callPackage, xwallpaper, libnotify, pywal }:
let
  voidrice = callPackage ../voidrice.nix { };
in
  stdenv.mkDerivation {
    name = "setbg";
    src = voidrice;

    buildInputs = [
      xwallpaper
      libnotify
      pywal
    ];

    installPhase = ''
      mkdir -p $out/bin
      cp ${voidrice}/.local/bin/setbg $out/bin/setbg
    '';

    meta = {
      description = "A fancy background setter.";
      homepage = "https://github.com/LukeSmithXYZ/voidrice";
    };
  }