Android : Set background and foreground colors.
This commit is contained in:
parent
0abc268faa
commit
3ea461f5e3
|
@ -55,6 +55,10 @@ in {
|
||||||
".termux/_font.ttf".source = pkgs.runCommandNoCC "font" {} ''
|
".termux/_font.ttf".source = pkgs.runCommandNoCC "font" {} ''
|
||||||
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 = ''
|
||||||
|
background=#1d2021
|
||||||
|
foreground=#ebdbb2
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
BASH_PATH = ./common/bash;
|
BASH_PATH = ./common/bash;
|
||||||
|
@ -70,7 +74,8 @@ in {
|
||||||
source $BASH_PATH/Bashrc.sh
|
source $BASH_PATH/Bashrc.sh
|
||||||
[[ -f ~/.termux/font.ttf ]] || {
|
[[ -f ~/.termux/font.ttf ]] || {
|
||||||
cp ~/.termux/_font.ttf ~/.termux/font.ttf
|
cp ~/.termux/_font.ttf ~/.termux/font.ttf
|
||||||
_warn "Nerd font installed, please restart."
|
cp ~/.termux/_colors.properties ~/.termux/colors.properties
|
||||||
|
_warn "Termux config installed, please restart."
|
||||||
};
|
};
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue