fully remove flavor and accent-specific catppuccin configs
This commit is contained in:
parent
930b13700a
commit
4ca5cebbb6
15 changed files with 276 additions and 364 deletions
|
|
@ -1,12 +1,26 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
catppuccin-waybar = pkgs.fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "waybar";
|
||||
rev = "ee8ed32b4f63e9c417249c109818dcc05a2e25da";
|
||||
sha256 = "sha256-za0y6hcN2rvN6Xjf31xLRe4PP0YyHu2i454ZPjr+lWA=";
|
||||
};
|
||||
|
||||
mergedConfig = pkgs.runCommand "mergedConfig" { } ''
|
||||
mkdir -p $out
|
||||
cp -rv ${./config}/* $out/
|
||||
cp -v ${catppuccin-waybar}/themes/${config.catppuccin.flavor}.css $out/colors.css
|
||||
'';
|
||||
in
|
||||
{
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
home.file.".config/waybar" = {
|
||||
source = ./config;
|
||||
source = mergedConfig;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue