From e29c2ae94666914aa2bae2bcf48bfc28545d47b4 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 22 Jul 2021 09:55:24 +0300 Subject: refactor: distribute scripts across packages --- tmux/.local/bin/tmux-kill-menu.sh | 2 ++ tmux/.local/bin/tmuxinator-menu.sh | 5 +++++ 2 files changed, 7 insertions(+) create mode 100755 tmux/.local/bin/tmux-kill-menu.sh create mode 100755 tmux/.local/bin/tmuxinator-menu.sh (limited to 'tmux') diff --git a/tmux/.local/bin/tmux-kill-menu.sh b/tmux/.local/bin/tmux-kill-menu.sh new file mode 100755 index 0000000..e910a4d --- /dev/null +++ b/tmux/.local/bin/tmux-kill-menu.sh @@ -0,0 +1,2 @@ +#!/bin/sh +tmux ls -F "#{session_name}" | dmenu -l 10 | xargs tmux kill-session -t diff --git a/tmux/.local/bin/tmuxinator-menu.sh b/tmux/.local/bin/tmuxinator-menu.sh new file mode 100755 index 0000000..4dfcc14 --- /dev/null +++ b/tmux/.local/bin/tmuxinator-menu.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +PROJECTS_DIR=~/.config/tmuxinator + +ls $PROJECTS_DIR | sed 's/\.yml//g' | dmenu -l 10 | xargs tmuxinator start -- cgit v1.2.3