Skip to content

Commit

Permalink
feat(system): btop colorschema
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Sep 5, 2023
1 parent 1f664fd commit 5d4276c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions modules/top.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{ config, ... }: {
programs.btop.enable = true;
{ pkgs, config, ... }: {
xdg.configFile."btop/themes/catppuccin_mocha.theme" = {
source = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/catppuccin/btop/main/themes/catppuccin_mocha.theme";
sha256 = "TeaxAadm04h4c55aXYUdzHtFc7pb12e0wQmCjSymuug=";
};
};
programs.btop = {
enable = true;
settings = {
color_theme = "catppuccin_mocha";
theme_background = false;
};
};
programs.htop = {
enable = true;
settings = {
Expand Down

0 comments on commit 5d4276c

Please sign in to comment.