Create hpc tmuxp session

This commit is contained in:
coolneng 2021-10-11 18:44:50 +02:00
parent 6a58336fbe
commit 570fc79fa9
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 18 additions and 3 deletions

View File

@ -5,6 +5,7 @@ select_action() {
"zion"
"unit"
"aegis"
"hpc"
)
action=$(printf '%s\n' "${action_content[@]}" | rofi -no-auto-select -i "$@" -dmenu -p "Choose a session")
execute_action "$action"
@ -16,9 +17,10 @@ launch_session() {
execute_action() {
case "$1" in
"zion") launch_session "zion" ;;
"unit") launch_session "unit" ;;
"aegis") launch_session "aegis" ;;
"zion") launch_session "zion" ;;
"unit") launch_session "unit" ;;
"aegis") launch_session "aegis" ;;
"hpc") launch_session "hpc" ;;
esac
}

13
tmux/.tmuxp/hpc.yaml Normal file
View File

@ -0,0 +1,13 @@
session_name: hpc
suppress_history: false
windows:
- window_name: canvas
layout: even-vertical
panes:
- ssh hpc
- ssh hpc
- window_name: monitor
panes:
- ssh -t hpc "htop"