Android : Use nix color.
This commit is contained in:
parent
ae1ac52bb1
commit
d2693febd9
|
@ -128,8 +128,8 @@
|
||||||
accent_rgb = "184;187;38";
|
accent_rgb = "184;187;38";
|
||||||
fg_3_rgb = "168;153;132";
|
fg_3_rgb = "168;153;132";
|
||||||
negative_rgb = "204;36;29";
|
negative_rgb = "204;36;29";
|
||||||
neutral_1_rgb = "69;133;136";
|
neutral_rgb = "69;133;136";
|
||||||
positive_1_rgb = "135;175;135";
|
positive_rgb = "135;175;135";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Common modules used across all hosts.
|
# 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
|
cp ${pkgs.nerdfonts.override { fonts = [ "Terminus" ]; }}/share/fonts/truetype/NerdFonts/TerminessNerdFontMono-Regular.ttf $out
|
||||||
'';
|
'';
|
||||||
".termux/_colors.properties".text = ''
|
".termux/_colors.properties".text = ''
|
||||||
background=#1d2021
|
background=#${bg}
|
||||||
foreground=#ebdbb2
|
foreground=#${fg}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
|
|
|
@ -44,12 +44,12 @@ function __prompt_command() {
|
||||||
if ${is_root}; then
|
if ${is_root}; then
|
||||||
PS1+="$(__prompt_color ${negative_rgb})"
|
PS1+="$(__prompt_color ${negative_rgb})"
|
||||||
else
|
else
|
||||||
PS1+="$(__prompt_color ${neutral_1_rgb})"
|
PS1+="$(__prompt_color ${neutral_rgb})"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Add user, host and working dir.
|
# Add user, host and working dir.
|
||||||
PS1+="\u@\h "
|
PS1+="\u@\h "
|
||||||
PS1+="$(__prompt_color ${positive_1_rgb})"
|
PS1+="$(__prompt_color ${positive_rgb})"
|
||||||
PS1+="\w"
|
PS1+="\w"
|
||||||
# PS1+="\${PWD}"
|
# PS1+="\${PWD}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue