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 = {
enable = true;
settings = {
update_ms = 100;
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 = {
enable = true;
settings = {
theme = "dracula";
theme = "catppuccin_mocha";
editor = {
indent-guides.render = true;
cursor-shape = {

View file

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

View file

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