I was wondering if it's possible to change text in the tmux status bar (or BASH shell prompt as an alternative) if a specific process is running. I would specifically like an indicator to appear if the script command is running (which logs commands for a terminal session).


Have a look at this post

Outcome of following the post when htop is running in second window the indicator changes to red. enter image description here

It shows how when an other window in tmux has activity the window section can change to show that activity.

Quick notes: To create a new widow in tmux ctrl+b c and to switch between windows ctrl+b n

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.