From 36118d4a9dea4b73c4ff88eac90d0c6b2e019bb7 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Thu, 19 Nov 2020 21:58:56 +0100 Subject: [PATCH] i3altlayout: init at 0.3 --- .../window-managers/i3/altlayout.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/applications/window-managers/i3/altlayout.nix diff --git a/pkgs/applications/window-managers/i3/altlayout.nix b/pkgs/applications/window-managers/i3/altlayout.nix new file mode 100644 index 00000000000..973dee3eeed --- /dev/null +++ b/pkgs/applications/window-managers/i3/altlayout.nix @@ -0,0 +1,21 @@ +{ lib, python3Packages }: + +python3Packages.buildPythonApplication rec { + pname = "i3altlayout"; + version = "0.3"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "1h0phf3s6ljffxw0bs73k041wildaz01h37iv5mxhami41wrh4qf"; + }; + + pythonPath = with python3Packages; [ enum-compat i3ipc docopt ]; + + meta = with lib; { + maintainers = with maintainers; [ magnetophon ]; + description = "Helps you handle more efficiently your screen real estate in i3wm by auto-splitting windows on their longest side"; + homepage = "https://github.com/deadc0de6/i3altlayout"; + license = licenses.gpl3Only; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f3b4ebdcb94..72a2740016b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -21223,6 +21223,8 @@ in i3-gaps = callPackage ../applications/window-managers/i3/gaps.nix { }; + i3altlayout = callPackage ../applications/window-managers/i3/altlayout.nix { }; + i3-easyfocus = callPackage ../applications/window-managers/i3/easyfocus.nix { }; i3-layout-manager = callPackage ../applications/window-managers/i3/layout-manager.nix { };