rj1
log | files | refs
commit 189ab2843597b330a7beb4799501d4f42ed61434
parent a9f6a3279f6b8672ceba1b41a04e14e0f8312f16
author: rj1 <[email protected]>
date:   Sat, 18 May 2024 11:47:29 -0600

edit: select_pane() is deprecated

Diffstat:
Mbin/edit | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/edit b/bin/edit @@ -108,7 +108,7 @@ window = tmux_session.select_window(str(find_window).split(":")[0].split()[1]) # switch to first pane in session window (this is where i always have neovim) pane = window.panes[0] -pane.select_pane() +pane.select() # find the edit window in sway and focus it for window in sway().get_tree().leaves():