desktop: Wii pointer

This commit is contained in:
Geoffrey Frogeye 2024-04-01 12:25:53 +02:00
parent 1615abd814
commit a3999cc9b1
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ pkgs, lib, config, ... }:
{
config = {
stylix.cursor = {
package =
pkgs.stdenv.mkDerivation {
pname = "wii-pointer";
version = "unstable-2024-03-31";
src = pkgs.runCommand "wii-pointer" { } ''
mkdir $out
cd $out
${pkgs.p7zip}/bin/7z x ${pkgs.fetchurl {
url = "https://files.primm.gay/extras/cursors/Wii/Linux%20Cursors.7z";
hash = "sha256-1lFJrLYEyT1STLgK1YOpy/g4tgGk/ENnri5QjR0dMzo=";
}}
'';
dontConfigure = true;
dontBuild = true;
dontFixup = true;
installPhase = ''
mkdir -p $out/share/icons
cp -a Linux\ Cursor/Wii-Pointer $out/share/icons
'';
};
name = "Wii-Pointer";
};
};
}

View file

@ -5,6 +5,7 @@
./autorandr
./background
./browser
./cursor
./frobar
./i3.nix
./lock