Merge pull request #63709 from Ma27/i3-layout-manager

i3-layout-manager: init at unstable-2019-06-19
This commit is contained in:
Maximilian Bosch 2019-07-09 23:31:49 +02:00 committed by GitHub
commit 972fb33e5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

@ -0,0 +1,39 @@
{ stdenv, fetchFromGitHub, vim, makeWrapper, jq, rofi, xrandr, xdotool, i3, gawk, libnotify }:
let
path = stdenv.lib.makeBinPath [ vim jq rofi xrandr xdotool i3 gawk libnotify ];
in
stdenv.mkDerivation rec {
pname = "i3-layout-manager";
version = "unstable-2019-06-19";
src = fetchFromGitHub {
owner = "klaxalk";
repo = pname;
rev = "80ade872bfd70d9c6039024097ceb8c852a2816a";
sha256 = "02xhyd737qwni628mjzr9i5v2kga5cq4k8m77bxm1p6kkj84nlmg";
};
nativeBuildInputs = [ makeWrapper ];
dontBuild = true;
installPhase = ''
runHook preInstall
install -D layout_manager.sh $out/bin/layout_manager
wrapProgram $out/bin/layout_manager \
--prefix PATH : "${path}"
runHook postInstall
'';
meta = with stdenv.lib; {
homepage = https://github.com/klaxalk/i3-layout-manager;
description = "Saving, loading and managing layouts for i3wm.";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ ma27 ];
};
}

@ -18478,6 +18478,8 @@ in
i3-easyfocus = callPackage ../applications/window-managers/i3/easyfocus.nix { };
i3-layout-manager = callPackage ../applications/window-managers/i3/layout-manager.nix { };
i3blocks = callPackage ../applications/window-managers/i3/blocks.nix { };
i3blocks-gaps = callPackage ../applications/window-managers/i3/blocks-gaps.nix { };