dots/chezmoi/dot_config/tmux/plugins/extrakto/executable_extrakto.tmux
aleidk 224c7ed45c Migrate to chezmoi
Move config files from config to chezmoi
Add script to auto install packages with DNF and Cargo
2024-03-01 20:26:02 -03:00

12 lines
366 B
Bash

#!/usr/bin/env bash
CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$CURRENT_DIR/scripts/helpers.sh"
extrakto_open="$CURRENT_DIR/scripts/open.sh"
extrakto_key=$(get_option "@extrakto_key")
if [[ $(echo $extrakto_key | tr [:upper:] [:lower:]) != none ]]; then
tmux bind-key ${extrakto_key} run-shell "\"$extrakto_open\" \"#{pane_id}\""
fi