feat: configure themes
This commit is contained in:
parent
7a891d17cb
commit
8ecab747c1
@ -5,7 +5,6 @@
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
zsh-completions
|
||||
bat
|
||||
fd
|
||||
htop
|
||||
ripgrep
|
||||
@ -13,9 +12,6 @@
|
||||
];
|
||||
programs.bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
theme = "gruvbox-dark";
|
||||
};
|
||||
};
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
@ -37,7 +33,8 @@
|
||||
];
|
||||
};
|
||||
shellAliases = {
|
||||
cat = "bat";
|
||||
cat = "bat --theme=\"$(defaults read -globalDomain AppleInterfaceStyle &> /dev/null && echo 'gruvbox-dark' || echo 'gruvbox-light')\"";
|
||||
|
||||
diff = "delta";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user