Set light theme for bat

This commit is contained in:
SebastianStork 2024-05-01 17:21:02 +02:00
parent 3a9a3b9e6d
commit ddee6fbcec

View file

@ -1,5 +1,6 @@
{
config,
pkgs,
lib,
...
}: {
@ -11,8 +12,14 @@
enableAliases = true;
};
programs.bat.enable = true;
home.shellAliases.cat = "bat -p";
home.shellAliases.cat = let
theme =
{
dark = "";
light = "GitHub";
}
."${config.myConfig.de.theme}";
in "${lib.getExe pkgs.bat} --plain --theme=${theme}";
programs.fzf.enable = true;