mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
i3-easyfocus: init at 20180622
Fast window switcher. Attributes and display one letter per window on your current workspace, upon keypress, will focus the matching window.
This commit is contained in:
parent
d395b185d9
commit
6664babe85
2 changed files with 34 additions and 0 deletions
32
pkgs/applications/window-managers/i3/easyfocus.nix
Normal file
32
pkgs/applications/window-managers/i3/easyfocus.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, xproto, libxcb, xcbutilkeysyms
|
||||
, xlibs , i3ipc-glib , glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "i3easyfocus-${version}";
|
||||
version = "20180622";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cornerman";
|
||||
repo = "i3-easyfocus";
|
||||
rev = "3631d5af612d58c3d027f59c86b185590bd78ae1";
|
||||
sha256 = "1wgknmmm7iz0wxsdh29gmx4arizva9101pzhnmac30bmixf3nzhr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libxcb xcbutilkeysyms xproto xlibs.libX11.dev i3ipc-glib glib.dev ];
|
||||
|
||||
# Makefile has no rule for 'install'
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp i3-easyfocus $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Focus and select windows in i3";
|
||||
homepage = https://github.com/cornerman/i3-easyfocus;
|
||||
maintainers = with maintainers; [teto];
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -16454,6 +16454,8 @@ with pkgs;
|
|||
|
||||
i3-gaps = callPackage ../applications/window-managers/i3/gaps.nix { };
|
||||
|
||||
i3-easyfocus = callPackage ../applications/window-managers/i3/easyfocus.nix { };
|
||||
|
||||
i3blocks = callPackage ../applications/window-managers/i3/blocks.nix { };
|
||||
|
||||
i3blocks-gaps = callPackage ../applications/window-managers/i3/blocks-gaps.nix { };
|
||||
|
|
Loading…
Reference in a new issue