feat: configure themes

This commit is contained in:
Yadunand Prem 2024-11-22 17:21:15 -05:00
parent 7a891d17cb
commit 8ecab747c1
No known key found for this signature in database

View File

@ -5,7 +5,6 @@
}: { }: {
home.packages = with pkgs; [ home.packages = with pkgs; [
zsh-completions zsh-completions
bat
fd fd
htop htop
ripgrep ripgrep
@ -13,9 +12,6 @@
]; ];
programs.bat = { programs.bat = {
enable = true; enable = true;
config = {
theme = "gruvbox-dark";
};
}; };
programs.zsh = { programs.zsh = {
enable = true; enable = true;
@ -37,7 +33,8 @@
]; ];
}; };
shellAliases = { shellAliases = {
cat = "bat"; cat = "bat --theme=\"$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo 'gruvbox-dark' || echo 'gruvbox-light')\"";
diff = "delta"; diff = "delta";
}; };
}; };