tmux-continuum
tmux-continuum copied to clipboard
set new status option from tmux.conf
Hi,
I adjusted the output of the continuum_status.sh script to show me the minutes since the last save, rather than the save interval. See here https://github.com/alexg9010/tmux-continuum/commit/7efcc84a46fe5fcfc0bc2887851f2092c3307940
Now I am wondering how could you achieve to add this as new status option that could be set from .tmux.conf?
Best, Alex
I forked the project, and used some of your code to achieve this. It basically adds an option, @continuum-status-option , to configure status output. Details are in the fork's description.
Combined with another fork of the catppuccin status bar plugin, something like this is possible:
@u0398 Any chance you'll create a pull for that feature?
It's been some time since I've looked at the code. I will take a little time, and try to put together a PR.
Edit: So I reviewed the changes in my fork, and I don't think the code is in a condition to be put in a PR. I resorted to doing a fairly ugly hack to deal with a bootstrapping issue loading current status with some themes. It works, but can cause a short hang. I've been using the forked code for a year, and am happy enough with it, but I think a more competent programmer could do a better job.