desktop: Wii pointer
This commit is contained in:
parent
1615abd814
commit
a3999cc9b1
30
hm/desktop/cursor/default.nix
Normal file
30
hm/desktop/cursor/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -5,6 +5,7 @@
|
|||
./autorandr
|
||||
./background
|
||||
./browser
|
||||
./cursor
|
||||
./frobar
|
||||
./i3.nix
|
||||
./lock
|
||||
|
|
Loading…
Reference in a new issue