From 8d337e6a47bcecd86fd709cdb04309e9d63e720d Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Fri, 5 Apr 2024 01:13:36 +0200 Subject: [PATCH] Add bat (pager) --- home/programs/terminal/tools/bat.nix | 8 ++++++++ home/programs/terminal/tools/default.nix | 1 + 2 files changed, 9 insertions(+) create mode 100644 home/programs/terminal/tools/bat.nix diff --git a/home/programs/terminal/tools/bat.nix b/home/programs/terminal/tools/bat.nix new file mode 100644 index 0000000..85a4311 --- /dev/null +++ b/home/programs/terminal/tools/bat.nix @@ -0,0 +1,8 @@ +{ + programs.bat = { + enable = true; + config = { + pager = "less -FR"; + }; + }; +} diff --git a/home/programs/terminal/tools/default.nix b/home/programs/terminal/tools/default.nix index 2cab23a..3304473 100644 --- a/home/programs/terminal/tools/default.nix +++ b/home/programs/terminal/tools/default.nix @@ -10,5 +10,6 @@ _: { ./hyfetch.nix ./btop.nix ./bottom.nix + ./bat.nix ]; }