fixed gitui theme and zvm cursor

This commit is contained in:
Aria Nolan 2023-11-01 10:21:19 -04:00
parent ab7ac580be
commit f97c8ab307
4 changed files with 32 additions and 17 deletions

View file

@ -35,7 +35,6 @@
networkmanagerapplet networkmanagerapplet
htop htop
p7zip p7zip
gitui
]; ];
}; };

View file

@ -10,4 +10,32 @@
programs.bat = { programs.bat = {
enable = true; enable = true;
}; };
programs.gitui = {
enable = true;
theme = ''
(
selected_tab: Reset,
command_fg: DarkGray,
selection_bg: Green,
selection_fg: White,
cmdbar_bg: Blue,
cmdbar_extra_lines_bg: Blue,
disabled_fg: Magenta,
diff_line_add: Green,
diff_line_delete: Red,
diff_file_added: LightGreen,
diff_file_removed: LightRed,
diff_file_moved: LightMagenta,
diff_file_modified: Yellow,
commit_hash: Magenta,
commit_time: LightCyan,
commit_author: Green,
danger_fg: Red,
push_gauge_bg: Blue,
push_gauge_fg: Reset,
tag_fg: LightMagenta,
branch_fg: LightYellow,
)
'';
};
} }

View file

@ -19,17 +19,6 @@
}; };
historySubstringSearch.enable = true; historySubstringSearch.enable = true;
plugins = [ plugins = [
# {
# name = "powerlevel10k";
# file = "powerlevel10k.zsh-theme";
# src = pkgs.fetchFromGitHub {
# owner = "romkatv";
# repo = "powerlevel10k";
# rev = "v1.19.0";
# sha256 = "+hzjSbbrXr0w1rGHm6m2oZ6pfmD6UUDBfPd7uMg5l5c=";
# };
# }
{ {
name = "z.lua"; name = "z.lua";
src = pkgs.fetchFromGitHub { src = pkgs.fetchFromGitHub {
@ -53,9 +42,9 @@
# initExtra = '' # initExtra = ''
# source $HOME/.config/zsh/.p10k.zsh # source $HOME/.config/zsh/.p10k.zsh
# ''; # '';
# localVariables = { localVariables = {
# POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD = true; ZVM_TERM = "xterm-256color";
# }; };
}; };
# home.file.".config/zsh/.p10k.zsh".source = ./.p10k.zsh; # home.file.".config/zsh/.p10k.zsh".source = ./.p10k.zsh;
} }

View file

@ -6,7 +6,6 @@
main = { main = {
shell = "/usr/bin/env zsh"; shell = "/usr/bin/env zsh";
font = "Mononoki:size=14,FiraCode Nerd Font:size=14"; font = "Mononoki:size=14,FiraCode Nerd Font:size=14";
term = "xterm-256color";
}; };
colors = { colors = {
background = "232136"; background = "232136";
@ -27,7 +26,7 @@
bright5 = "c4a7e7"; bright5 = "c4a7e7";
bright6 = "ea9a97"; bright6 = "ea9a97";
bright7 = "e0def4"; bright7 = "e0def4";
alpha = "0.9"; alpha = "0.85";
}; };
}; };
}; };