➕ (neodymium/home/shell) replace htop by btop
This commit is contained in:
parent
79c3c68a94
commit
38d98e3c7e
26
hosts/neodymium/home/shell/btop.nix
Normal file
26
hosts/neodymium/home/shell/btop.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
catppuccin-btop = pkgs.fetchFromGitHub {
|
||||
owner = "catppuccin";
|
||||
repo = "btop";
|
||||
rev = "c6469190f2ecf25f017d6120bf4e050e6b1d17af";
|
||||
sha256 = "sha256-jodJl4f2T9ViNqsY9fk8IV62CrpC5hy7WK3aRpu70Cs=";
|
||||
};
|
||||
in {
|
||||
|
||||
xdg.configFile."btop/themes".source = "${catppuccin-btop}/themes";
|
||||
|
||||
programs.btop = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
theme_background = false;
|
||||
color_theme = "catppuccin_mocha";
|
||||
|
||||
clock_format = "%Y-%m-%d %X";
|
||||
};
|
||||
};
|
||||
|
||||
programs.zsh.shellAliases = { htop = "btop"; };
|
||||
|
||||
}
|
|
@ -1,4 +1,11 @@
|
|||
{ ... }: {
|
||||
imports =
|
||||
[ ./atuin.nix ./bat.nix ./direnv.nix ./exa.nix ./git.nix ./zsh.nix ];
|
||||
imports = [
|
||||
./atuin.nix
|
||||
./bat.nix
|
||||
./btop.nix
|
||||
./direnv.nix
|
||||
./exa.nix
|
||||
./git.nix
|
||||
./zsh.nix
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue