mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Set light theme for bat
This commit is contained in:
parent
3a9a3b9e6d
commit
ddee6fbcec
1 changed files with 9 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue