Common/programs/btop: add catppuccin theme
This commit is contained in:
parent
08df06dc26
commit
f3189018bf
1 changed files with 17 additions and 1 deletions
|
|
@ -1,10 +1,26 @@
|
||||||
{ ... }:
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
catppuccinBtop = pkgs.fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "btop";
|
||||||
|
# I know fetiching from master is not best practice but idc this is not going to change often
|
||||||
|
# Latest commit rn is c6469190f2ecf25f017d6120bf4e050e6b1d17af
|
||||||
|
rev = "master";
|
||||||
|
hash = "sha256-jodJl4f2T9ViNqsY9fk8IV62CrpC5hy7WK3aRpu70Cs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
in
|
||||||
{
|
{
|
||||||
home-manager = {
|
home-manager = {
|
||||||
users.toast = {
|
users.toast = {
|
||||||
programs.btop = {
|
programs.btop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
color_theme = "catppuccin_mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
xdg.configFile = {
|
||||||
|
"btop/themes".source = "${catppuccinBtop}/themes";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue