fabioluciano / tmux-tokyo-night

174 stars 35 forks source link

status-right is static #2

Closed kchiem closed 1 year ago

kchiem commented 1 year ago

status-right is set with the output of the plugin(s), but that's only datetime.sh at the moment.

load_plugin() from each plugin provides the output used. currently in datetime.sh, you have it as a call to:

echo "$(date +"${plugin_datetime_format}")"

But that's only run once at startup, and returns a static value. That's also unnecessary as tmux will handle strftime variables itself. All that function needs to do is:

echo $plugin_datetime_format