feat: bat catppuccin theme
This commit is contained in:
parent
c4c4b83b48
commit
03d4dda767
|
@ -16,6 +16,13 @@ let
|
||||||
sha256 = "sha256-cWpog52Ft4hqGh8sMWhiLUQp/XXipOPnSTG6LwUAGGA=";
|
sha256 = "sha256-cWpog52Ft4hqGh8sMWhiLUQp/XXipOPnSTG6LwUAGGA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
catppuccin-bat = pkgs.fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "bat";
|
||||||
|
rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1";
|
||||||
|
sha256 = "1g2r6j33f4zys853i1c5gnwcdbwb6xv5w6pazfdslxf69904lrg9";
|
||||||
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
imports = [ ./hardware-configuration.nix ];
|
imports = [ ./hardware-configuration.nix ];
|
||||||
|
|
||||||
|
@ -159,8 +166,8 @@ in {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls = "exa";
|
l = "exa -l -h -g --icons --git --time-style=long-iso";
|
||||||
l = "exa -l -h -g --icons --grid --git --time-style=long-iso";
|
ls = "exa -l -h -g --icons --git --time-style=long-iso --grid";
|
||||||
ll = "exa -l -h -g --icons --grid --git --time-style=long-iso -a";
|
ll = "exa -l -h -g --icons --grid --git --time-style=long-iso -a";
|
||||||
cat = "bat";
|
cat = "bat";
|
||||||
df = "duf";
|
df = "duf";
|
||||||
|
@ -232,6 +239,15 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.bat = {
|
||||||
|
enable = true;
|
||||||
|
themes = {
|
||||||
|
catppuccin =
|
||||||
|
builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme";
|
||||||
|
};
|
||||||
|
config.theme = "catppuccin";
|
||||||
|
};
|
||||||
|
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Reference in a new issue