update tmux popup config

This commit is contained in:
Alexander Navarro 2024-08-28 12:05:05 -04:00
parent f98b2c56b0
commit 99f717efcb
3 changed files with 31 additions and 12 deletions

17
scripts/fzf-tmux-tools-popup Executable file
View file

@ -0,0 +1,17 @@
#! /usr/bin/env bash
set -e
declare -A tools
tools[Lazygit]="lazygit"
tools[Databases]="cd ~/.local/share/db_ui; nvim -c 'DBUI'"
cli="$(printf "%s\n" "${!tools[@]}" | fzf)"
cli="${tools[$cli]}"
if [[ -z "$cli" ]]; then
exit
fi
eval "$cli"