Switched to catppuccin
This commit is contained in:
		
							parent
							
								
									a7a8b638b0
								
							
						
					
					
						commit
						6ab7837acf
					
				
					 15 changed files with 114 additions and 78 deletions
				
			
		
							
								
								
									
										24
									
								
								packages/catppuccin-swaync/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								packages/catppuccin-swaync/default.nix
									
										
									
									
									
										Normal 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"
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue