remove boot script stuff ; couldnt get it to work ; add tasker support

This commit is contained in:
KemoNine 2022-08-06 16:25:16 -04:00
parent d0addc284c
commit a15c1ef7b2
3 changed files with 4 additions and 7 deletions

View file

@ -55,23 +55,18 @@ if grep -q "Android" <<< `uname -a`; then
if ! [ -d ~/.shortcuts ]; then
mkdir ~/.shortcuts
fi
# boot scripts
if ! [ -d ~/.termux/boot ]; then
mkdir ~/.termux/boot
fi
# tasker scripts (in case boot ones fail, they can be poked via tasker automations)
if ! [ -d ~/.termux/tasker ]; then
mkdir ~/.termux/tasker
fi
# cannot use symlinks -- termux forces full path execution from android launcher shortcuts
cp $PATH_PREFIX/shortcuts/* ~/.shortcuts/
cp $PATH_PREFIX/emacsd/* ~/.termux/boot
cp $PATH_PREFIX/emacsd/* ~/.termux/tasker
# reload settings
termux-reload-settings
fi
echo "ensure Termux:Boot android helper app is installed from f-droid"
echo "use tasker scripts to launch emacsd styled setup on boot ; Termux::Boot does not work for me"
echo "exa fd bat tmux htop nano most ripgrep emacs zsh lf restic rclone glow"
echo "copy restic.sh if desired/needed"
echo "run tmux and do <prefix>-I to install plugins and finish setup"

View file

@ -1,2 +1,3 @@
#!/data/data/com.termux/files/usr/bin/sh
/data/data/com.termux/files/usr/bin/tmux new-session -d -s emacsd-code '/data/data/com.termux/files/usr/bin/emacs --with-profile code'
/data/data/com.termux/files/usr/bin/termux-wake-lock
/data/data/com.termux/files/usr/bin/tmux new-session -s emacsd-code '/data/data/com.termux/files/usr/bin/emacs --with-profile code'

View file

@ -1,2 +1,3 @@
#!/data/data/com.termux/files/usr/bin/sh
/data/data/com.termux/files/usr/bin/termux-wake-lock
/data/data/com.termux/files/usr/bin/tmux new-session -d -s emacsd-org '/data/data/com.termux/files/usr/bin/emacs --with-profile org'