mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
urxvt-font-size: init
This commit is contained in:
parent
f3bd641203
commit
737de61912
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, fetchFromGitHub, xrdb }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "urxvt-font-size-2015-05-22";
|
||||||
|
dontPatchShebangs = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "majutsushi";
|
||||||
|
repo = "urxvt-font-size";
|
||||||
|
rev = "fd5b09c10798c6723bbf771d4d8881cf6563bc69";
|
||||||
|
sha256 = "16m3kkypg3y00x597zx05zy167a0kaqpawz0l591wzb2bv1dz55z";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
substituteInPlace font-size \
|
||||||
|
--replace "xrdb -merge" "${xrdb}/bin/xrdb -merge"
|
||||||
|
|
||||||
|
mkdir -p $out/lib/urxvt/perl
|
||||||
|
cp font-size $out/lib/urxvt/perl
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Change the urxvt font size on the fly";
|
||||||
|
homepage = "https://github.com/majutsushi/urxvt-font-size";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ cstrahan ];
|
||||||
|
};
|
||||||
|
}
|
@ -12461,9 +12461,10 @@ let
|
|||||||
# urxvt plugins
|
# urxvt plugins
|
||||||
urxvt_perls = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-perls { };
|
urxvt_perls = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-perls { };
|
||||||
urxvt_tabbedex = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-tabbedex { };
|
urxvt_tabbedex = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-tabbedex { };
|
||||||
|
urxvt_font_size = callPackage ../applications/misc/rxvt_unicode-plugins/urxvt-font-size { };
|
||||||
|
|
||||||
rxvt_unicode-with-plugins = callPackage ../applications/misc/rxvt_unicode/wrapper.nix {
|
rxvt_unicode-with-plugins = callPackage ../applications/misc/rxvt_unicode/wrapper.nix {
|
||||||
plugins = [ urxvt_perls urxvt_tabbedex ];
|
plugins = [ urxvt_perls urxvt_tabbedex urxvt_font_size ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# FIXME: remove somewhere in future
|
# FIXME: remove somewhere in future
|
||||||
|
Loading…
Reference in New Issue
Block a user