mirror of
https://github.com/tmux-plugins/tmux-battery.git
synced 2026-09-10 07:26:19 -04:00
Add plugin_interpolated_options support (#103)
This commit is contained in:
parent
26491f0c03
commit
5c47191df8
|
|
@ -58,7 +58,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
|
||||
|
|
|
|||
Loading…
Reference in a new issue