Android : Use nix color.

This commit is contained in:
Dmitry Voronin 2024-04-03 00:00:40 +03:00
parent ae1ac52bb1
commit d2693febd9
3 changed files with 11 additions and 11 deletions

View file

@ -125,11 +125,11 @@
positive_1 = "87af87";
transparent = "ffffff00";
accent_rgb = "184;187;38";
fg_3_rgb = "168;153;132";
negative_rgb = "204;36;29";
neutral_1_rgb = "69;133;136";
positive_1_rgb = "135;175;135";
accent_rgb = "184;187;38";
fg_3_rgb = "168;153;132";
negative_rgb = "204;36;29";
neutral_rgb = "69;133;136";
positive_rgb = "135;175;135";
};
# Common modules used across all hosts.

View file

@ -51,14 +51,14 @@ in {
home-manager.config = {
home.stateVersion = const.droidStateVersion;
home.file = {
".dotfiles".source = inputs.self;
".ssh/config".source = ./common/ssh/config;
".dotfiles".source = inputs.self;
".ssh/config".source = ./common/ssh/config;
".termux/_font.ttf".source = pkgs.runCommandNoCC "font" {} ''
cp ${pkgs.nerdfonts.override { fonts = [ "Terminus" ]; }}/share/fonts/truetype/NerdFonts/TerminessNerdFontMono-Regular.ttf $out
'';
".termux/_colors.properties".text = ''
background=#1d2021
foreground=#ebdbb2
background=#${bg}
foreground=#${fg}
'';
};
home.sessionVariables = {

View file

@ -44,12 +44,12 @@ function __prompt_command() {
if ${is_root}; then
PS1+="$(__prompt_color ${negative_rgb})"
else
PS1+="$(__prompt_color ${neutral_1_rgb})"
PS1+="$(__prompt_color ${neutral_rgb})"
fi
# Add user, host and working dir.
PS1+="\u@\h "
PS1+="$(__prompt_color ${positive_1_rgb})"
PS1+="$(__prompt_color ${positive_rgb})"
PS1+="\w"
# PS1+="\${PWD}"