Compare commits
2 commits
af735eecad
...
eb9fcf9fea
Author | SHA1 | Date | |
---|---|---|---|
eb9fcf9fea | |||
108c7a3378 |
2 changed files with 41 additions and 1 deletions
|
@ -82,7 +82,31 @@ in {
|
|||
functions = {
|
||||
# Disable greeting
|
||||
fish_greeting = "";
|
||||
fish_init_custom = ''
|
||||
#Variable names: https://github.com/IlanCosman/tide/blob/main/functions/tide/configure/configs/rainbow.fish
|
||||
#Tide base
|
||||
tide configure --auto --style=Rainbow --prompt_colors='True color' --show_time=No --rainbow_prompt_separators=Vertical --powerline_prompt_heads=Slanted --powerline_prompt_tails=Flat --powerline_prompt_style='Two lines, frame' --prompt_connection=Solid --powerline_right_prompt_frame=No --prompt_connection_andor_frame_color=Darkest --prompt_spacing=Compact --icons='Many icons' --transient=Yes
|
||||
|
||||
#OS module
|
||||
set tide_os_bg_color ${config.colorScheme.colors.base07}
|
||||
|
||||
#PWD module
|
||||
set tide_pwd_bg_color ${config.colorScheme.colors.base0D}
|
||||
set tide_pwd_color_dirs ${config.colorScheme.colors.base02}
|
||||
set tide_pwd_color_truncated_dirs ${config.colorScheme.colors.base04}
|
||||
set tide_pwd_color_anchors ${config.colorScheme.colors.base02}
|
||||
|
||||
#Git module
|
||||
set tide_git_bg_color ${config.colorScheme.colors.base0B}
|
||||
set tide_git_bg_color_unstable ${config.colorScheme.colors.base0A}
|
||||
set tide_git_bg_color_urgent ${config.colorScheme.colors.base08}
|
||||
'';
|
||||
};
|
||||
};
|
||||
home.packages = with pkgs; [grc fzf nix-your-shell];
|
||||
|
||||
# Applies tide configure on rebuild
|
||||
home.activation.configureTide = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||
${pkgs.fish}/bin/fish -c "fish_init_custom"
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -1,5 +1,21 @@
|
|||
{
|
||||
{config, ...}: {
|
||||
programs.lazygit = {
|
||||
enable = true;
|
||||
settings = with config.colorScheme.colors; {
|
||||
gui = {
|
||||
theme = {
|
||||
activeBorderColor = ["#${base0D}" "bold"];
|
||||
inactiveBorderColor = ["#${base05}"];
|
||||
optionsTextColor = ["#${base0D}"];
|
||||
selectedLineBgColor = ["${base02}"];
|
||||
selectedRangeBgColor = ["${base02}"];
|
||||
cherryPickedCommitBgColor = ["#${base03}"];
|
||||
cherryPickedCommitFgColor = ["#${base0D}"];
|
||||
unstagedChangesColor = ["#${base08}"];
|
||||
defaultFgColor = ["#${base05}"];
|
||||
searchingActiveBorderColor = ["#${base0A}"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue