From 78ce7dac4855c6b32c5c8023c6fdb442fb5e9ab8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Gremaud?= Date: Thu, 15 Aug 2024 16:10:44 +0200 Subject: [PATCH] Update 15.08.2024 --- tmux_sessionizer.py | 1 + tmux_ssh_group.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tmux_sessionizer.py b/tmux_sessionizer.py index 675d20c..2e2fd40 100644 --- a/tmux_sessionizer.py +++ b/tmux_sessionizer.py @@ -12,6 +12,7 @@ folders = [ "~/Documents/PolyLAN/", "~/Documents/Python/", "~/Documents/", + "~/Documents/Games/Minecraft/modded/", ] available_folders = sh.find(*[Path(f).expanduser() for f in folders] + "-mindepth 1 -maxdepth 1 -type d".split(" ")).strip().split("\n") diff --git a/tmux_ssh_group.py b/tmux_ssh_group.py index ea6f9db..4a5cb36 100644 --- a/tmux_ssh_group.py +++ b/tmux_ssh_group.py @@ -106,7 +106,7 @@ for selected_group in selections: if not servers: continue - window_name = get_window_name(info["section"]) + window_name = get_window_name(selected_group) if windows := active_session.windows.filter(name=window_name): windows[0].select() continue