diff options
author | eug-vs <eug-vs@keemail.me> | 2021-07-22 09:55:24 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2021-07-22 09:55:24 +0300 |
commit | e29c2ae94666914aa2bae2bcf48bfc28545d47b4 (patch) | |
tree | 33a193bbeb665a7036fe1fc53e9bfcb92a6db14e /tmux | |
parent | 0fb0039433c0777027f9f9fc63d6ec77117a7f48 (diff) | |
download | dotfiles-e29c2ae94666914aa2bae2bcf48bfc28545d47b4.tar.gz |
refactor: distribute scripts across packages
Diffstat (limited to 'tmux')
-rwxr-xr-x | tmux/.local/bin/tmux-kill-menu.sh | 2 | ||||
-rwxr-xr-x | tmux/.local/bin/tmuxinator-menu.sh | 5 |
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 |