Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TERMUX FIX #144

Open
id8547854 opened this issue Aug 5, 2024 · 0 comments
Open

TERMUX FIX #144

id8547854 opened this issue Aug 5, 2024 · 0 comments

Comments

@id8547854
Copy link

id8547854 commented Aug 5, 2024

THIS PLUGIN - TERMUX NO WORK ( NOT SYSTEMD )

THIS - TERMUX WORK.

Needed only https://github.com/tmux-plugins/tmux-resurrect

Edit this script.
/data/data/com.termux/files/home/clone/path/scripts/save.sh ( delete func main, paste text end script - save_all )

Edit this script.
/data/data/com.termux/files/home/clone/path/scripts/restore.sh ( in func main - delete string start_spinner "Restoring..." "Tmux restore complete!" and display_message "Tmux restore complete!"

crontab ( save all tmux session background every 10 min )
*/10 * * * * tmux run-shell -b "/data/data/com.termux/files/home/clone/path/scripts/save.sh &"

Restore session.
'/data/data/com.termux/files/usr/bin/tmux new-session -d && tmux run-shell -b "/data/data/com.termux/files/home/clone/path/scripts/restore.sh &"'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant