about summary refs log tree commit diff
path: root/pkgs/larbs-scripts/old/displayselect.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/larbs-scripts/old/displayselect.nix')
-rw-r--r--pkgs/larbs-scripts/old/displayselect.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/larbs-scripts/old/displayselect.nix b/pkgs/larbs-scripts/old/displayselect.nix
new file mode 100644
index 0000000..39cd6c0
--- /dev/null
+++ b/pkgs/larbs-scripts/old/displayselect.nix
@@ -0,0 +1,28 @@
+{ stdenv, buildEnv, callPackage, xrandr, libnotify, arandr }:
+with stdenv.lib;
+
+let
+  voidrice = callPackage ../voidrice.nix { };
+  dmenu = callPackage ../larbs/dmenu { };
+in
+  buildEnv {
+    name = "displayselect";
+
+    paths = [
+      xrandr
+      arandr
+      libnotify
+      dmenu
+    ];
+
+    postBuild = ''
+      mkdir -p $out/bin
+      cp ${voidrice}/.local/bin/displayselect $out/bin
+    '';
+
+
+    meta = {
+      description = "A fancy monitor configuration menu.";
+      homepage = "https://github.com/LukeSmithXYZ/voidrice";
+    };
+  }