diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-04-09 14:13:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-09 14:13:58 -0500 |
commit | 9416d802750fb43eb393712b740addfd7818ca36 (patch) | |
tree | 497dac3a4d643f1c5654a21c58b4a195a3f89695 /pkgs/applications/window-managers/i3 | |
parent | 5336176a55a135137b0d016433d506f541bcfde1 (diff) | |
parent | e0561e337cf4bf401e6df7c5cf57d1166616534f (diff) | |
download | nixlib-9416d802750fb43eb393712b740addfd7818ca36.tar nixlib-9416d802750fb43eb393712b740addfd7818ca36.tar.gz nixlib-9416d802750fb43eb393712b740addfd7818ca36.tar.bz2 nixlib-9416d802750fb43eb393712b740addfd7818ca36.tar.lz nixlib-9416d802750fb43eb393712b740addfd7818ca36.tar.xz nixlib-9416d802750fb43eb393712b740addfd7818ca36.tar.zst nixlib-9416d802750fb43eb393712b740addfd7818ca36.zip |
Merge pull request #36363 from Synthetica9/i3-wk-switch
i3-wk-switch: init at 484f840
Diffstat (limited to 'pkgs/applications/window-managers/i3')
-rw-r--r-- | pkgs/applications/window-managers/i3/wk-switch.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/window-managers/i3/wk-switch.nix b/pkgs/applications/window-managers/i3/wk-switch.nix new file mode 100644 index 000000000000..39bd62cd5aa9 --- /dev/null +++ b/pkgs/applications/window-managers/i3/wk-switch.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, python2Packages }: + +python2Packages.buildPythonApplication rec { + pname = "i3-wk-switch"; + version = "2017-08-21"; + + # https://github.com/tmfink/i3-wk-switch/commit/484f840bc4c28ddc60fa3be81e2098f7689e78fb + src = fetchFromGitHub { + owner = "tmfink"; + repo = pname; + rev = "484f840"; + sha256 = "0nrc13ld5bx07wrgnpzgpbaixb4rpi93xiapvyb8srd49fj9pcmb"; + }; + + propagatedBuildInputs = with python2Packages; [ i3-py ]; + + dontBuild = true; + doCheck = false; + + installPhase = '' + mkdir -p "$out/bin" + cp i3-wk-switch.py "$out/bin/i3-wk-switch" + ''; + + meta = with stdenv.lib; { + description = "XMonad-like workspace switching for i3"; + maintainers = with maintainers; [ synthetica ]; + platforms = platforms.linux; + license = licenses.mit; + homepage = https://travisf.net/i3-wk-switcher; + }; +} |