update tmux popup config
This commit is contained in:
parent
f98b2c56b0
commit
99f717efcb
3 changed files with 31 additions and 12 deletions
17
scripts/fzf-tmux-tools-popup
Executable file
17
scripts/fzf-tmux-tools-popup
Executable 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue