omerxx / tmux-floax

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

feat(bind): Support root binding #11

Closed znd4 closed 1 month ago

znd4 commented 1 month ago

Hi, this is similar to a PR I just opened on sessionx, so down to close both if you don't like this implementation.

I haven't actually intentionally taken advantage of bash argument expansions before, so IDK what weird drawbacks there might be, but it's at least working on my machine 😅

Mugworth commented 1 month ago

You can also just run script directly: bind-key -n C-\ run-shell "~/.tmux/plugins/tmux-floax/scripts/floax.sh"