breezex-curosr: it works!
This commit is contained in:
parent
dd6003556c
commit
b5eda32f44
2 changed files with 58 additions and 0 deletions
26
home-manager/breezex-curosr/flake.lock
generated
Normal file
26
home-manager/breezex-curosr/flake.lock
generated
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1722087241,
|
||||||
|
"narHash": "sha256-2ShmEaFi0kJVOEEu5gmlykN5dwjWYWYUJmlRTvZQRpU=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "8c50662509100d53229d4be607f1a3a31157fa12",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"id": "nixpkgs",
|
||||||
|
"ref": "nixos-24.05",
|
||||||
|
"type": "indirect"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
32
home-manager/breezex-curosr/flake.nix
Normal file
32
home-manager/breezex-curosr/flake.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{
|
||||||
|
description = "Extended KDE cursor, Highly inspired on KDE Breeze for Windows and Linux with HiDPi Support.";
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "nixpkgs/nixos-24.05";
|
||||||
|
};
|
||||||
|
outputs = { nixpkgs, ... }:
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
in
|
||||||
|
{
|
||||||
|
packages.${system}.default = pkgs.stdenv.mkDerivation {
|
||||||
|
pname = "breezex-curosr";
|
||||||
|
version = "2.0.1";
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://github.com/ful1e5/BreezeX_Cursor/releases/download/v2.0.1/BreezeX.tar.xz";
|
||||||
|
hash = "sha256:1I6WQT/GH/AE2wDN1NdZ6XivRNhCsrWP/pG6UIZT7R8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# fix 'unpacker produced multiple directories'
|
||||||
|
sourceRoot = ".";
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
mkdir -p $out/usr/share/icons
|
||||||
|
cp -r BreezeX-Black $out/usr/share/icons
|
||||||
|
cp -r BreezeX-Dark $out/usr/share/icons
|
||||||
|
cp -r BreezeX-Light $out/usr/share/icons
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue