20 lines
535 B
Bash
Executable file
20 lines
535 B
Bash
Executable file
#!/data/data/com.termux/files/usr/bin/sh
|
|
|
|
# debugging
|
|
#echo $1
|
|
|
|
# get a wake lock so we dont get background killed
|
|
/data/data/com.termux/files/usr/bin/termux-wake-lock
|
|
|
|
# nextcloud auto-sync
|
|
/data/data/com.termux/files/home/.shortcuts/rclone-nc-local
|
|
|
|
# run emacs ; assume this will run awhile -- mind battery drain
|
|
/data/data/com.termux/files/usr/bin/emacs --with-profile $1
|
|
|
|
# nextcloud auto-sync
|
|
/data/data/com.termux/files/home/.shortcuts/rclone-local-nc
|
|
|
|
# release wake lock
|
|
/data/data/com.termux/files/usr/bin/termux-wake-unlock
|