omerxx / tmux-floax

The missing floating pane for Tmux
GNU General Public License v3.0
413 stars 26 forks source link

fix: title reset to default after second trigger #17

Closed aetiosfokeas closed 3 months ago

aetiosfokeas commented 3 months ago

FLOAX_TITLE env variable reverts back to DEFAULT_TITLE after the second trigger of floax.

TMUX configuration file has a value set for floax title (ex set -g @floax-title "This is a title") On first trigger of floax, the custom title is displayed. After that, any subsequent trigger will display the default title again (FloaX: C-a-s ...)

This PR fixes this issue by setting the FLOAX_TITLE env variable to the custom title (if one was provided).


The issue:

https://github.com/user-attachments/assets/be257b76-53dc-4468-8307-22c37f651b73