From cd6b30a892133e0fa5fbf95fdb49790b6a8dbf27 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Leconte Date: Sun, 13 Mar 2022 21:23:35 -0400 Subject: [PATCH] Add plugin_interpolated_options support --- newsboat.tmux | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/newsboat.tmux b/newsboat.tmux index 52dc458..386a200 100755 --- a/newsboat.tmux +++ b/newsboat.tmux @@ -49,7 +49,10 @@ update_status_option() { main() { create_default_files - update_status_option "status-right" - update_status_option "status-left" + local interpolated_options="$(get_tmux_option "@plugin_interpolated_options" "status-right status-left")" + for interpolated_option in $interpolated_options + do + update_status_option $interpolated_option + done } main