aboutsummaryrefslogtreecommitdiff
path: root/tmux/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/.local/bin')
-rwxr-xr-xtmux/.local/bin/tmux-kill-menu.sh2
-rwxr-xr-xtmux/.local/bin/tmuxinator-menu.sh5
2 files changed, 7 insertions, 0 deletions
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