1 { lib, stdenv, fetchFromGitHub, vim, makeWrapper, jq, rofi, xrandr, xdotool, i3, gawk, libnotify }:
4 path = lib.makeBinPath [ vim jq rofi xrandr xdotool i3 gawk libnotify ];
7 stdenv.mkDerivation rec {
8 pname = "i3-layout-manager";
9 version = "unstable-2020-05-04";
11 src = fetchFromGitHub {
14 rev = "df54826bba351d8bcd7ebeaf26c07c713af7912c";
15 sha256 = "0ccvr43yp26fnh5d82cw7jcfq2sbxzzmdx2cp15bmxr8ixr8knc3";
18 nativeBuildInputs = [ makeWrapper ];
25 install -D layout_manager.sh $out/bin/layout_manager
26 wrapProgram $out/bin/layout_manager \
27 --prefix PATH : "${path}"
33 homepage = "https://github.com/klaxalk/i3-layout-manager";
34 description = "Saving, loading and managing layouts for i3wm";
35 license = licenses.mit;
36 platforms = platforms.linux;
37 maintainers = with maintainers; [ ];