Updated waybar to use catppuccin colors
This commit is contained in:
		
							parent
							
								
									6bc6da1cd6
								
							
						
					
					
						commit
						3916f21962
					
				
					 3 changed files with 51 additions and 31 deletions
				
			
		
							
								
								
									
										24
									
								
								packages/catppuccin-waybar/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								packages/catppuccin-waybar/default.nix
									
										
									
									
									
										Normal 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"
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue