feat: Moves launch or focus script and makes it so that it can also close a window based on pattern. Updates keybinds that use it.

This commit is contained in:
2025-10-03 09:58:05 -04:00
parent 50191dde0c
commit 8bb6d35acd
5 changed files with 71 additions and 38 deletions

View File

@@ -29,7 +29,7 @@ launched terminal, allowing you to launch with a specific mode turned on, any fl
EOF
}
window_class="com.ghostty.$(basename ${BASH_SOURCE[0]})"
window_class="com.ghostty.window-table"
window_padding_x="10"
clipboard_flag="0"
@@ -94,7 +94,8 @@ show_table_return_choice() {
fi
local ret=$(
printf '%s\n' "${rows[@]}" |
gum table --columns "$columns" --return-column $ret_column
fzf --footer="Workspace - Title - Address" --footer-label-pos=center
# gum table --columns "$columns" --return-column $ret_column
)
# remove spaces and quotes from result.