From 8caea9e115736e4081beba84ec5be56e6bd109fa Mon Sep 17 00:00:00 2001 From: Carlos Aldana Date: Thu, 4 Apr 2024 19:05:15 -0700 Subject: [PATCH] updates sessions --- tmux-sessions/linkedag-web.sh | 8 ++++---- tmux-sessions/syncopotamus-rails-web.sh | 2 ++ tmux-sessions/syncopotamus-rails.sh | 15 +++++++++++++++ tmux-sessions/syncopotamus-web.sh | 15 +-------------- tmux-sessions/syncopotamus.sh | 6 ------ 5 files changed, 22 insertions(+), 24 deletions(-) create mode 100755 tmux-sessions/syncopotamus-rails-web.sh create mode 100755 tmux-sessions/syncopotamus-rails.sh diff --git a/tmux-sessions/linkedag-web.sh b/tmux-sessions/linkedag-web.sh index 5bf1534..1ce4eff 100755 --- a/tmux-sessions/linkedag-web.sh +++ b/tmux-sessions/linkedag-web.sh @@ -1,6 +1,6 @@ flatpak run org.mozilla.Firefox https://bigdrumdigital.teamwork.com/app/projects/620980/time & -flatpak run org.mozilla.Firefox https://3.basecamp.com/5456546/buckets/36188668/card_tables/7047790073 & -flatpak run org.mozilla.Firefox http://localhost:5173 & -flatpak run org.mozilla.Firefox "https://www.figma.com/file/PihpwVEFRiq6LC3HHg0RWh/LinkedAG-Design?type=design&node-id=307-1744&mode=design" & -mongodb-compass & flatpak run org.mozilla.Firefox "https://theme-generator-seven.vercel.app/" & +flatpak run org.mozilla.Firefox https://3.basecamp.com/5456546/buckets/36188668/card_tables/7047790073 & +mongodb-compass & +flatpak run org.mozilla.Firefox --new-window "https://www.figma.com/file/PihpwVEFRiq6LC3HHg0RWh/LinkedAG-Design?type=design&node-id=307-1744&mode=design" & +flatpak run org.mozilla.Firefox --new-window http://localhost:5173 & diff --git a/tmux-sessions/syncopotamus-rails-web.sh b/tmux-sessions/syncopotamus-rails-web.sh new file mode 100755 index 0000000..632b75a --- /dev/null +++ b/tmux-sessions/syncopotamus-rails-web.sh @@ -0,0 +1,2 @@ +flatpak run org.mozilla.Firefox https://3.basecamp.com/5456546/buckets/34127086/card_tables/6496384013 +flatpak run org.mozilla.Firefox --new-window http://localhost:3000 diff --git a/tmux-sessions/syncopotamus-rails.sh b/tmux-sessions/syncopotamus-rails.sh new file mode 100755 index 0000000..c4cae34 --- /dev/null +++ b/tmux-sessions/syncopotamus-rails.sh @@ -0,0 +1,15 @@ +tmux new-session -s syncopotamus -d + +tmux new-window -c ~/repos/syncopotamus-rails -n rails +tmux set-environment -t syncopotamus SYNCOPOTAMUS_BC_CLIENT_ID "de4602c11dcdacfbe8f1a172f84b4e88b7a1adeb" +tmux set-environment -t syncopotamus SYNCOPOTAMUS_BC_CLIENT_SECRET "710ddd0ec04c098adca8564e4caab2c7034ad272" +tmux set-environment -t syncopotamus SYNCOPOTAMUS_BC_REDIRECT_SERVER "http://localhost" + +tmux split-window -h -c ~/repos/syncopotamus-rails +tmux resize-pane -t syncopotamus:rails.0 -x 90% +tmux send-keys -t syncopotamus:rails.0 'nvim' C-m +tmux send-keys -t syncopotamus:rails.1 'rails s' C-m + +tmux select-window -t syncopotamus:rails +tmux select-pane -t 0 +tmux -2 attach-session -t syncopotamus diff --git a/tmux-sessions/syncopotamus-web.sh b/tmux-sessions/syncopotamus-web.sh index d89d994..b1fa32b 100755 --- a/tmux-sessions/syncopotamus-web.sh +++ b/tmux-sessions/syncopotamus-web.sh @@ -1,15 +1,2 @@ flatpak run org.mozilla.Firefox https://3.basecamp.com/5456546/buckets/34127086/card_tables/6496384013 - -# tmux new-session -s syncopotamus -d -c ~/repos/syncopotamus-go -n backend -# tmux split-window -h -c ~/repos/syncopotamus-go -# tmux send-keys -t syncopotamus:backend.0 'nvim' C-m -# tmux send-keys -t syncopotamus:backend.1 'go run .' C-m -# -# tmux new-window -c ~/repos/syncopotamus-svelte -n frontend -# tmux split-window -h -c ~/repos/syncopotamus-svelte -# tmux send-keys -t syncopotamus:frontend.0 'nvim' C-m -# tmux send-keys -t syncopotamus:frontend.1 'npm run dev' C-m -# -# tmux select-window -t syncopotamus:backend -# tmux select-pane -t 0 -# tmux -2 attach-session -t syncopotamus +flatpak run org.mozilla.Firefox --new-window http://localhost:5173 diff --git a/tmux-sessions/syncopotamus.sh b/tmux-sessions/syncopotamus.sh index f393976..00e952a 100755 --- a/tmux-sessions/syncopotamus.sh +++ b/tmux-sessions/syncopotamus.sh @@ -15,12 +15,6 @@ tmux resize-pane -t syncopotamus:svelte.0 -x 90% tmux send-keys -t syncopotamus:svelte.0 'nvim' C-m tmux send-keys -t syncopotamus:svelte.1 'npm run dev' C-m -tmux new-window -c ~/repos/syncopotamus-rails -n rails -tmux split-window -h -c ~/repos/syncopotamus-rails -tmux resize-pane -t syncopotamus:rails.0 -x 90% -tmux send-keys -t syncopotamus:rails.0 'nvim' C-m -tmux send-keys -t syncopotamus:rails.1 'rails s' C-m - tmux select-window -t syncopotamus:backend tmux select-pane -t 0 tmux -2 attach-session -t syncopotamus