fix bat config
This commit is contained in:
parent
ff5c069b08
commit
3da7613d5f
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue