tmux-continuum icon indicating copy to clipboard operation
tmux-continuum copied to clipboard

TERMUX FIX

Open ghost opened this issue 1 year ago • 0 comments

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 &"'

ghost avatar Aug 05 '24 14:08 ghost