omerxx / tmux-sessionx

A Tmux session manager, with preview, fuzzy finding, and MORE
GNU General Public License v3.0
770 stars 66 forks source link

Enhance Flexibility: Optional Window Title Configuration #138

Open samyakbardiya opened 3 months ago

samyakbardiya commented 3 months ago

Hello Omerxx, I am really liking your plug-in, kudos for the work.

Although I have one query, is there any specific reason that we are naming the window as well? The thing is that I use the Catppuccin theme, and it sets the window names for me. But as the window name is already set by this package, it then does not rename it. Also, this is just me, but I don't like full-path as my window name.

Code context

I would be happy to create a PR adding this as an optional configuration option, if there is no specific reason behind.

Thanks :)

omerxx commented 1 month ago

@samyakbardiya thanks! the reason is making windows easier to query in the console, where if you leave it to autonaming you may endup with lots of duplications or similar names that don't mean much. If you want to add a functionality behind a switch I'm happy to accept it!

samyakbardiya commented 1 month ago

Thanks for the info @omerxx . I'll raise the PR in a few days.