1 files changed,
14 insertions(+),
0 deletions(-)
Author:
Oleksandr Smirnov
olexsmir@gmail.com
Committed at:
2026-02-09 02:08:42 +0200
Authored at:
2026-02-08 20:37:18 +0200
Change ID:
zmpvppwvzwyntlvstwzrqmysztrqlumo
Parent:
173642c
A
stare.tmux
ยทยทยท 1 +#!/usr/bin/env bash 2 +set -x 3 + 4 +CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" 5 +source "$CURRENT_DIR/scripts/helpers.sh" 6 + 7 +main() { 8 + local pick_key="$(get_opt_pick)" 9 + [[ -n "$pick_key" ]] && tmux bind-key "$pick_key" run-shell "tmux display-popup -E -w 25% -h 30% '$CURRENT_DIR/scripts/pick.sh'" 10 + 11 + local save_key="$(get_opt_save)" 12 + [[ -n "$save_key" ]] && tmux bind-key "$save_key" run-shell "$CURRENT_DIR/scripts/save.sh" 13 +} 14 +main