Updated waybar to use catppuccin colors

This commit is contained in:
alejandro-angulo 2024-08-12 20:03:31 -07:00
parent 6bc6da1cd6
commit 3916f21962
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 51 additions and 31 deletions

View file

@ -0,0 +1,24 @@
{
stdenv,
flavor ? "mocha",
font ? "Hack Nerd Font",
fetchurl,
...
}:
stdenv.mkDerivation rec {
pname = "catpuccin-waybar";
version = "1.1";
src = fetchurl {
url = "https://github.com/catppuccin/waybar/releases/download/v${version}/${flavor}.css";
hash = "sha256-llnz9uTFmEiQtbfMGSyfLb4tVspKnt9Fe5lo9GbrVpE=";
};
dontBuild = true;
dontUnpack = true;
installPhase = ''
mkdir -p "$out"
cp "$src" "$out/catppuccin.css"
'';
}