Switch to catppuccin
Some checks failed
/ test (push) Has been cancelled

This commit is contained in:
Andrea Ciceri 2024-05-17 16:08:36 +02:00
parent 116474d8a8
commit 9e38d06d55
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
4 changed files with 36 additions and 14 deletions

View file

@ -1,10 +1,18 @@
{config, ...}: { {pkgs, ...}: {
programs.btop = { programs.btop = {
enable = true; enable = true;
settings = { settings = {
update_ms = 100; update_ms = 100;
theme_background = false; theme_background = false;
color_theme = "${config.programs.btop.package}/share/btop/themes/dracula.theme"; # color_theme = "${config.programs.btop.package}/share/btop/themes/dracula.theme";
color_theme = let
catppuccin-theme = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "btop";
rev = "21b8d5956a8b07fa52519e3267fb3a2d2e693d17";
hash = "sha256-UXeTypc15MhjgGUiCrDUZ40m32yH2o1N+rcrEgY6sME=";
};
in "${catppuccin-theme}/themes/catppuccin_mocha.theme";
}; };
}; };
} }

View file

@ -2,7 +2,7 @@
programs.helix = { programs.helix = {
enable = true; enable = true;
settings = { settings = {
theme = "dracula"; theme = "catppuccin_mocha";
editor = { editor = {
indent-guides.render = true; indent-guides.render = true;
cursor-shape = { cursor-shape = {

View file

@ -96,22 +96,36 @@
# ''; # '';
# }; # };
xdg.configFile."dracula-theme" = { xdg.configFile = {
target = "fish/themes/dracula.theme"; "dracula-theme" = {
source = let target = "fish/themes/dracula.theme";
theme = pkgs.fetchFromGitHub { source = let
owner = "dracula"; theme = pkgs.fetchFromGitHub {
repo = "fish"; owner = "dracula";
rev = "269cd7d76d5104fdc2721db7b8848f6224bdf554"; repo = "fish";
hash = "sha256-Hyq4EfSmWmxwCYhp3O8agr7VWFAflcUe8BUKh50fNfY="; rev = "269cd7d76d5104fdc2721db7b8848f6224bdf554";
}; hash = "sha256-Hyq4EfSmWmxwCYhp3O8agr7VWFAflcUe8BUKh50fNfY=";
in "${theme}/themes/Dracula\ Official.theme"; };
in "${theme}/themes/Dracula\ Official.theme";
};
"catppuccin-theme" = {
target = "fish/themes/Catppuccin\ Mocha.theme";
source = let
theme = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "fish";
rev = "a3b9eb5eaf2171ba1359fe98f20d226c016568cf";
hash = "sha256-shQxlyoauXJACoZWtRUbRMxmm10R8vOigXwjxBhG8ng=";
};
in "${theme}/themes/Catppuccin\ Mocha.theme";
};
}; };
programs.fish = { programs.fish = {
enable = true; enable = true;
shellInit = '' shellInit = ''
fish_config theme choose "dracula" fish_config theme choose "dracula"
fish_config theme choose "Catppuccin Mocha"
export CACHIX_AUTH_TOKEN=$(cat ${age.secrets.cachix-personal-token.path}) export CACHIX_AUTH_TOKEN=$(cat ${age.secrets.cachix-personal-token.path})
''; '';
shellAliases = { shellAliases = {

View file

@ -14,7 +14,7 @@
}; };
font_size = 13; font_size = 13;
allow_square_glyphs_to_overflow_width = "Always"; allow_square_glyphs_to_overflow_width = "Always";
color_scheme = "Dracula (Official)"; color_scheme = "Catppuccin Mocha";
window_background_opacity = 1; window_background_opacity = 1;
enable_tab_bar = false; enable_tab_bar = false;
hide_mouse_cursor_when_typing = false; hide_mouse_cursor_when_typing = false;