Switched to catppuccin

This commit is contained in:
alejandro-angulo 2024-08-11 19:21:41 -07:00
parent a7a8b638b0
commit 6ab7837acf
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
15 changed files with 114 additions and 78 deletions

View file

@ -0,0 +1,24 @@
{
stdenv,
flavor ? "mocha",
font ? "Hack Nerd Font",
fetchurl,
...
}:
stdenv.mkDerivation rec {
pname = "catppuccin-swaync";
version = "0.2.3";
src = fetchurl {
url = "https://github.com/catppuccin/swaync/releases/download/v${version}/${flavor}.css";
hash = "sha256-Hie/vDt15nGCy4XWERGy1tUIecROw17GOoasT97kIfc=";
};
donBuild = true;
dontUnpack = true;
installPhase = ''
mkdir -p "$out"
sed 's/Ubuntu Nerd Font/${font}/g' "$src" > "$out/catppuccin.css"
'';
}