add termux config to the repo

This commit is contained in:
KemoNine 2022-05-22 15:01:47 -04:00
parent d668f757c2
commit bc0e688446
2 changed files with 14 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
PATH_PREFIX=`pwd` PATH_PREFIX=`pwd`
@ -40,6 +40,18 @@ if ! [ -d ~/.asdf ]; then
cd $PATH_PREFIX cd $PATH_PREFIX
fi fi
# termux tuning
if grep -q "Android" <<< `uname -a`; then
if ! [ -d ~/.termux ]; then
mkdir ~/.termux
fi
rm ~/.termux/termux.properties
# must be copy to prevent error on termux startup
cp $PATH_PREFIX/termux/termux.properties ~/.termux/termux.properties
# reload settings
termux-reload-settings
fi
echo "exa fd bat tmux htop nano most ripgrep emacs zsh lf restic rclone" echo "exa fd bat tmux htop nano most ripgrep emacs zsh lf restic rclone"
echo "copy restic.sh if desired/needed" echo "copy restic.sh if desired/needed"
echo "run tmux and do <prefix>-I to install plugins and finish setup" echo "run tmux and do <prefix>-I to install plugins and finish setup"

1
termux/termux.properties Normal file
View File

@ -0,0 +1 @@
extra-keys = [ ['ESC','-','BACKSLASH','HOME','UP','END','PGUP','DEL'], ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN','DRAWER'] ]