Create hpc tmuxp session
This commit is contained in:
parent
6a58336fbe
commit
570fc79fa9
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
Loading…
Reference in New Issue