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" "zion"
"unit" "unit"
"aegis" "aegis"
"hpc"
) )
action=$(printf '%s\n' "${action_content[@]}" | rofi -no-auto-select -i "$@" -dmenu -p "Choose a session") action=$(printf '%s\n' "${action_content[@]}" | rofi -no-auto-select -i "$@" -dmenu -p "Choose a session")
execute_action "$action" execute_action "$action"
@ -19,6 +20,7 @@ execute_action() {
"zion") launch_session "zion" ;; "zion") launch_session "zion" ;;
"unit") launch_session "unit" ;; "unit") launch_session "unit" ;;
"aegis") launch_session "aegis" ;; "aegis") launch_session "aegis" ;;
"hpc") launch_session "hpc" ;;
esac 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"