Skip to content

Commit

Permalink
Add tmux-sessioner extension (raycast#6200)
Browse files Browse the repository at this point in the history
* Add tmux-sessioner extension

- add feature default terminal app
- fix PATH is hard code
- Better error message
- add command icon
- simple version

* better description form

* implement new command to change default terminal app

* Update tmux-sessioner extension

- filter only terminal apps
- remove unused code

* update the flow to avoid laggy rendering

* Update tmux-sessioner extension

- Merge pull request #1 from louishuyng/chore/show-hud
- chore: should hud after selecting session

* better description and title command

* Update tmux-sessioner extension

- rename tmux session
- delete tmux session
- create new session command
- create new session command

* Update tmux-sessioner extension

- Update README.md
- Merge pull request raycast#3 from louishuyng/manipulate-basic-tmux-actions

* Update tmux-sessioner extension

- Better icon display
- Update How to Use section in README.md

* Update index.tsx

* Update create_new_session.tsx

* metadata

---------

Co-authored-by: Per Nielsen Tikær <per@raycast.com>
  • Loading branch information
louishuyng and pernielsentikaer committed May 12, 2023
1 parent 5bee40c commit 8a05265
Show file tree
Hide file tree
Showing 22 changed files with 4,164 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/tmux-sessioner/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
9 changes: 9 additions & 0 deletions extensions/tmux-sessioner/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# misc
.DS_Store

.idea
4 changes: 4 additions & 0 deletions extensions/tmux-sessioner/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
3 changes: 3 additions & 0 deletions extensions/tmux-sessioner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Tmux Sessioner Changelog

## [Initial Version] - 2023-04-26
27 changes: 27 additions & 0 deletions extensions/tmux-sessioner/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Tmux Sessioner
## Description
This is a extension for raycast to manage tmux sessions.

## Features
- Switch between sessions 🔄
- Attach to sessions automatically with setup terminal 🖥
- Create new sessions 🆕
- Delete sessions 🗑
- Rename sessions 📝

## How to use
1. Install [Raycast](https://raycast.com/) 📦
2. Install [Tmux](https://linuxize.com/post/getting-started-with-tmux/) 📦
3. Install [Extension](https://www.raycast.com/raycast) 📦
4. Open Raycast and type `Tmux Sessioner` to see all commands 📟
5. First time you need to setup your terminal to attach to sessions automatically 🖥
![Setup Terminal](./assets/select-term-app.png)
6. Enjoy Mangaging your sessions 🎉
![Manage Session](./assets/manage-session.png)
7. You can create a new session with type `Create New Session` 🆕
![Create Terminal](./assets/create-new-session.png)

## TODO
- [ ] Label sessions 🏷
- [ ] Prioritize sessions 📈
- [ ] Allow Creating Session with predefined windows 🖼
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/tmux-sessioner/metadata/ray01.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/tmux-sessioner/metadata/ray02.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8a05265

Please sign in to comment.