lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.05-pre 42 lines 1.2 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, libX11 5}: 6 7stdenv.mkDerivation rec { 8 pname = "unclutter"; 9 version = "8"; 10 src = fetchurl { 11 url = "https://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-${version}.tar.gz"; 12 sha256 = "33a78949a7dedf2e8669ae7b5b2c72067896497820292c96afaa60bb71d1f2a6"; 13 }; 14 15 buildInputs = [ libX11 ]; 16 17 buildFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; 18 19 installPhase = '' 20 mkdir -pv "$out/bin" 21 mkdir -pv "$out/share/man/man1" 22 make DESTDIR="$out" BINDIR="$out/bin" PREFIX="" install 23 make DESTDIR="$out" MANPATH="$out/share/man" PREFIX="" install.man 24 ''; 25 26 meta = with lib; { 27 description = "Hides mouse pointer while not in use"; 28 longDescription = '' 29 Unclutter hides your X mouse cursor when you do not need it, to prevent 30 it from getting in the way. You have only to move the mouse to restore 31 the mouse cursor. Unclutter is very useful in tiling wm's where you do 32 not need the mouse often. 33 34 Just run it from your .bash_profile like that: 35 36 unclutter -idle 1 & 37 ''; 38 maintainers = with maintainers; [ domenkozar ]; 39 platforms = platforms.unix; 40 license = lib.licenses.publicDomain; 41 }; 42}