about summary refs log tree commit diff
path: root/pkgs/larbs-scripts/old/displayselect.nix
blob: 39cd6c0d8a697b2609b38a1d9c021527cd840098 (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
25
26
27
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";
    };
  }