From cec1e675347368bd447c01180176c9016b9542f5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Leconte Date: Sun, 13 Mar 2022 21:09:28 -0400 Subject: [PATCH] Add plugin_interpolated_options support --- cpu.tmux | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cpu.tmux b/cpu.tmux index 40d8124..85a35c9 100755 --- a/cpu.tmux +++ b/cpu.tmux @@ -82,7 +82,10 @@ update_tmux_option() { } main() { - update_tmux_option "status-right" - update_tmux_option "status-left" + local interpolated_options="$(get_tmux_option "@plugin_interpolated_options" "status-right status-left")" + for interpolated_option in $interpolated_options + do + update_tmux_option $interpolated_option + done } main