about summary refs log tree commit diff
path: root/pkgs/larbs-scripts/old/setbg.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/larbs-scripts/old/setbg.nix')
-rw-r--r--pkgs/larbs-scripts/old/setbg.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/larbs-scripts/old/setbg.nix b/pkgs/larbs-scripts/old/setbg.nix
new file mode 100644
index 0000000..1988f29
--- /dev/null
+++ b/pkgs/larbs-scripts/old/setbg.nix
@@ -0,0 +1,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";
+    };
+  }