Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: default terminal multiplexer sessions, starting with a jukebox 🎶 #20

Open
jessebot opened this issue Dec 24, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jessebot
Copy link
Owner

Describe the feature you'd like, and why

In the config file, we should have an option for allowing automatic creation of named tmux(or other terminal multiplexers like zellij) sessions and what to run in them.

If the tmux session name doesn't exist already, we should create it by default. We should have this be off by default, and be an opt in feature, because a bunch of tmux sessions everywhere, sounds like pain to clean up, but here's an idea of how the feature would work:

Config File Update proposal [Draft1]

terminal_multiplexer: 
  # change this to true, to enable terminal multiplexer sessions
  enabled: false
  # this can be any program name, but we'll support tmux and zellij out of the box
  program_name: zellij
  # name of the session to create with: tmux new -s name
  # we will only create this if it doesn't already exist
  - session_name: spotify_tui
    command: spt

then we could generate a script to automatically create a session for them, or just do it for them by putting that script in a cronjob to make sure those sessions always exist.

@jessebot jessebot added the enhancement New feature or request label Dec 24, 2022
@jessebot jessebot self-assigned this Dec 24, 2022
@jessebot
Copy link
Owner Author

This might actually make sense as a jessebot/dot_files ticket, as I've been using zellij so much that I don't use tmux much at all lately and zellij has this built in.

@jessebot jessebot changed the title Feature Request: default tmux sessions, starting with a jukebox 🎶 Feature Request: default terminal multiplexer sessions, starting with a jukebox 🎶 Dec 25, 2022
@jessebot jessebot transferred this issue from jessebot/onboardme Dec 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant