mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 00:21: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,
|
config,
|
||||||
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
|
@ -11,8 +12,14 @@
|
||||||
enableAliases = true;
|
enableAliases = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.bat.enable = true;
|
home.shellAliases.cat = let
|
||||||
home.shellAliases.cat = "bat -p";
|
theme =
|
||||||
|
{
|
||||||
|
dark = "";
|
||||||
|
light = "GitHub";
|
||||||
|
}
|
||||||
|
."${config.myConfig.de.theme}";
|
||||||
|
in "${lib.getExe pkgs.bat} --plain --theme=${theme}";
|
||||||
|
|
||||||
programs.fzf.enable = true;
|
programs.fzf.enable = true;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue