Skip to content

Commit

Permalink
refactor(cpt): use new cpt schema to define colors
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Jan 8, 2025
1 parent d79c10d commit 519dc88
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 23 deletions.
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 6 additions & 4 deletions modules/bat.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
pager = "less -FR";
};

catppuccin = {
enable = true;
flavor = "mocha";
};
};

catppuccin = {
enable = true;
flavor = "mocha";
};

home.sessionVariables = {
MANPAGER = "sh -c 'col -bx | bat -l man -p'";
MANROFFOPT = "-c";
Expand Down
9 changes: 4 additions & 5 deletions modules/fzf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
programs.fzf = {
enable = true;
enableZshIntegration = true;

catppuccin = {
enable = true;
flavor = "mocha";
};
};
catppuccin = {
enable = true;
flavor = "mocha";
};
}
14 changes: 6 additions & 8 deletions modules/starship.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,15 @@ let

in
{

programs.starship = {
enable = true;
enableZshIntegration = true;

catppuccin = {
enable = true;
flavor = "mocha";

};

settings = {
scan_timeout = 10;

#format = lib.concatStrings [ "$directory$git_branch$git_status$character" ];
format = lib.concatStrings [ "$directory$git_branch$character" ];

right_format = lib.concatStrings [ "$nix_shell" ];

character = if pkgs.stdenv.isDarwin then macos_prompt else linux_prompt;
Expand Down Expand Up @@ -74,4 +67,9 @@ in

};
};

catppuccin = {
enable = true;
flavor = "mocha";
};
}
4 changes: 1 addition & 3 deletions modules/yazi.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
programs.yazi = {
enable = true;
enableZshIntegration = true;
};
catppuccin = {
enable = true;
flavor = "mocha";

};
};

}

0 comments on commit 519dc88

Please sign in to comment.