From a4bab9f01985f3303b2ca9a9dd47c6562422e940 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 30 Apr 2023 15:27:48 +0200 Subject: [PATCH] i3-cycle-focus: init at unstable-2021-09-27 --- .../window-managers/i3/cycle-focus.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/window-managers/i3/cycle-focus.nix diff --git a/pkgs/applications/window-managers/i3/cycle-focus.nix b/pkgs/applications/window-managers/i3/cycle-focus.nix new file mode 100644 index 000000000000..180b074118ca --- /dev/null +++ b/pkgs/applications/window-managers/i3/cycle-focus.nix @@ -0,0 +1,26 @@ +{ lib +, fetchFromGitHub +, rustPlatform +}: + +rustPlatform.buildRustPackage { + pname = "i3-cycle-focus"; + version = "unstable-2021-09-27"; + + src = fetchFromGitHub { + owner = "TheDoctor314"; + repo = "i3-cycle-focus"; + rev = "d94f22e4b8502de4ed846a211fa0c8418b3e3e89"; + hash = "sha256-caZKvxOqoYgPs+Zjltj8K0/ospjkLnA4kh0rsTjeU3Y="; + }; + + cargoHash = "sha256-9glaxThm/ovgvUWCyrycS/Oe5t8iN5P38fF5vO5awQE="; + + meta = with lib; { + description = "A simple tool to cyclically switch between the windows on the active workspace"; + homepage = "https://github.com/TheDoctor314/i3-cycle-focus"; + license = licenses.unlicense; + maintainers = with maintainers; [ GaetanLepage ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0bfebbf56bd3..901a209dacef 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31172,6 +31172,8 @@ with pkgs; i3-balance-workspace = python3Packages.callPackage ../applications/window-managers/i3/balance-workspace.nix { }; + i3-cycle-focus = callPackage ../applications/window-managers/i3/cycle-focus.nix { }; + i3-easyfocus = callPackage ../applications/window-managers/i3/easyfocus.nix { }; i3-layout-manager = callPackage ../applications/window-managers/i3/layout-manager.nix { };