Skip to content

Commit

Permalink
setup dynamic color theme of bat
Browse files Browse the repository at this point in the history
  • Loading branch information
WendellXY committed Dec 29, 2024
1 parent d305b54 commit db65812
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion bat/config
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
--theme="Catppuccin-Mocha"
--theme-dark="Catppuccin-Mocha"
--theme-light="Catppuccin-Latte"
2 changes: 2 additions & 0 deletions nix/modules/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
git-lfs # Git large file storage
jq # JSON processor
lazygit # Git client
nix-prefetch-git # Script used to obtain source hashes for fetchgit
nix-prefetch-github # Script used to obtain source hashes for fetchFromGitHub
ripgrep # Better grep
tldr # Simplified man pages
tmux # Terminal multiplexer
Expand Down
4 changes: 2 additions & 2 deletions nix/pkgs/bat.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ rustPlatform.buildRustPackage rec {
owner = "WendellXY";
repo = "bat";
rev = "HEAD";
hash = "sha256-1RjlJEmY/jMf0IYQbrWrT1CHFyiqgarOl72u9xjjQiQ=";
hash = "sha256-VZUhjD/Uo/YLG4+EwO/t6cT1aHFdmtWox4Kn5ZfuoKg=";
};
cargoHash = "sha256-BjCP8R+dFPUAh9o365ATVvpkSd8IoCEC66oUpZoml4Q=";
cargoHash = "sha256-PxXYoc6RueU7ZeP3EoJeL6MilrL16VH/gxRbyuvGTFU=";

nativeBuildInputs = [
pkg-config
Expand Down

0 comments on commit db65812

Please sign in to comment.