A termux-widget series of bash scripts adapted from Rene Schallner (@renerocksai) for a Termux-git based Obsidian vault repositoriing.
This repo include the scripts for pulling, pushing and logging the changes on the vault repository with icons for the android desktop shortcuts.
Best way to accomplish repositoriing your Obsidian vault is to follow this esplendid guide. Once you reach "Shortcuts for committing, pushing, and pulling" you simply can follow next steps:
- Clone this repository: in your home folder in termux
git clone https://github.com/backmind/termux-widget-git-obsidian
- Move all the folder to
/scripts/
yourhome
:mv /scripts/ ~
- Set execution privileges for
install.sh
:chmod +x ~/scripts/install.sh
- Execute the installation:
.~/install.sh
- Introduce the name of your vault that already has been pulled in termux
- ...
- Profit
You can safely remove the /scripts/
folder
Now you can add the scripts to the desktop of your android device using [Termux-widget].