This commit is contained in:
parent
116474d8a8
commit
9e38d06d55
4 changed files with 36 additions and 14 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue