fix bat config

This commit is contained in:
Frost-Phoenix 2023-11-06 16:02:00 +01:00
parent ff5c069b08
commit 3da7613d5f
2 changed files with 12 additions and 3 deletions

View file

@ -27,6 +27,15 @@
{ nixpkgs, self, ...} @ inputs: { nixpkgs, self, ...} @ inputs:
let let
selfPkgs = import ./pkgs; selfPkgs = import ./pkgs;
catppuccin-fcitx5 = {
url = "github:catppuccin/fcitx5";
flake = false;
};
catppuccin-cava = {
url = "github:catppuccin/cava";
flake = false;
};
in in
{ {
overlays.default = selfPkgs.overlay; overlays.default = selfPkgs.overlay;

View file

@ -1,6 +1,6 @@
{ config, pkgs, ... }: { catppuccin-bat, ... }:
{ {
programs.bat = { programs.bat = {
enable = true; enable = true;
config = { config = {
pager = "less -FR"; pager = "less -FR";
@ -8,7 +8,7 @@
}; };
themes = { themes = {
# https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme # https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme
Catppuccin-mocha = builtins.readFile "https://raw.githubusercontent.com/catppuccin/bat/main/Catppuccin-mocha.tmTheme"; Catppuccin-mocha = builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme";
}; };
}; };
} }