mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
x-create-mouse-void: init at 0.1
This commit is contained in:
parent
bb2b3388df
commit
c3a4a7a958
@ -0,0 +1,30 @@
|
||||
{ stdenv, lib, xorg, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "x-create-mouse-void";
|
||||
version = "0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cas--";
|
||||
repo = "XCreateMouseVoid";
|
||||
rev = version;
|
||||
sha256 = "151pv4gmzz9g6nd1xw94hmawlb5z8rgs1jb3x1zpvn3znd7f355c";
|
||||
};
|
||||
|
||||
buildInputs = [ xorg.libX11 ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -pv $out/bin
|
||||
cp -a XCreateMouseVoid $out/bin/x-create-mouse-void
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/cas--/XCreateMouseVoid";
|
||||
description = "Creates an undecorated black window and prevents the mouse from entering that window";
|
||||
platforms = platforms.unix;
|
||||
license = licenses.unfreeRedistributable;
|
||||
maintainers = with maintainers; [ eigengrau ];
|
||||
};
|
||||
}
|
@ -31703,6 +31703,8 @@ with pkgs;
|
||||
|
||||
inherit (xorg) xcompmgr;
|
||||
|
||||
x-create-mouse-void = callPackage ../applications/window-managers/x-create-mouse-void { };
|
||||
|
||||
picom = callPackage ../applications/window-managers/picom {};
|
||||
|
||||
picom-next = callPackage ../applications/window-managers/picom/picom-next.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user