Android : Use nix color.
This commit is contained in:
parent
ae1ac52bb1
commit
d2693febd9
|
@ -128,8 +128,8 @@
|
|||
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";
|
||||
neutral_rgb = "69;133;136";
|
||||
positive_rgb = "135;175;135";
|
||||
};
|
||||
|
||||
# Common modules used across all hosts.
|
||||
|
|
|
@ -57,8 +57,8 @@ in {
|
|||
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 = {
|
||||
|
|
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue