Merge pull request #5141 from magnetophon/xrandr-invert-colors
xrandr-invert-colors, a tool to invert the colors of your screen
This commit is contained in:
commit
d7174debe3
|
@ -0,0 +1,26 @@
|
||||||
|
{ fetchurl, stdenv, libXrandr}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "v0.01";
|
||||||
|
name = "xrandr-invert-colors-${version}";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/zoltanp/xrandr-invert-colors/archive/${version}.tar.gz";
|
||||||
|
sha256 = "1z4hxn56rlflvqanb8ncqa1xqawnda85b1b37w6r2iqs8rw52d75";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ libXrandr ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
mv xrandr-invert-colors.bin xrandr-invert-colors
|
||||||
|
install xrandr-invert-colors $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Inverts the colors of your screen";
|
||||||
|
license = stdenv.lib.licenses.gpl3Plus;
|
||||||
|
homepage = https://github.com/zoltanp/xrandr-invert-colors;
|
||||||
|
maintainers = [stdenv.lib.maintainers.magnetophon ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -11966,6 +11966,7 @@ let
|
||||||
xfce = xfce4_10;
|
xfce = xfce4_10;
|
||||||
xfce4_10 = recurseIntoAttrs (import ../desktops/xfce { inherit config pkgs newScope; });
|
xfce4_10 = recurseIntoAttrs (import ../desktops/xfce { inherit config pkgs newScope; });
|
||||||
|
|
||||||
|
xrandr-invert-colors = callPackage ../applications/misc/xrandr-invert-colors { };
|
||||||
|
|
||||||
### SCIENCE
|
### SCIENCE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue