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

Add ability to have 2 status lines #220

Open
1 task done
huggybearbass opened this issue May 19, 2024 · 6 comments
Open
1 task done

Add ability to have 2 status lines #220

huggybearbass opened this issue May 19, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@huggybearbass
Copy link

Is there an existing issue outlining your improvement?

  • I have searched the existing issues and my improvement has not been raised yet.

What would you like to see added and/or changed?

I love the theme, but I would relish an easy way to set-option -g status 2 and place the themed content into the second status bar. For anyone who is wondering what I'm talking about, temporarily disable the cappuccin theme and set this, then reload tmux:
set-option -g status 2
set -g status-format[0] '#[align=left]Top left'
set -ag status-format[0] '#[align=centre]Top center'
set -ag status-format[0] '#[align=right]Top right'
set -g status-format[1] '#[align=left]Bottom left'
set -ag status-format[1] '#[align=centre]Bottom center'
set -ag status-format[1] '#[align=right]Bottom right'

If I could utilize those positions it would be incredible!

@huggybearbass huggybearbass added the enhancement New feature or request label May 19, 2024
@vdbe
Copy link
Contributor

vdbe commented May 19, 2024

See #192

@huggybearbass
Copy link
Author

Thanks! I was able to get the line to show up. How would I go about putting some of my items in the lower line?

@vdbe
Copy link
Contributor

vdbe commented May 19, 2024

I am guessing set -g status-format[0 or 1] 'whatever you want'

catppuccin itself will only use 1 line

@huggybearbass
Copy link
Author

Ahh, ok. Well, that's why I'm asking for a feature, to have catppuccin use 2 lines

@johnend
Copy link

johnend commented Sep 17, 2024

Yeah, was just looking for a way to have Catppuccin on one line and another below it. It would be great to be able to format the status-format[0] for example with Catppuccin and then have status-format[1] be empty to create a break between the status line and the top of NeoVim for example.

@kjnsn
Copy link
Collaborator

kjnsn commented Oct 21, 2024

The theme colors are available for formatting, so you can do things like set -g status-format[1] '#[bg=#{@thm_mantle},fg=#{@thm_fg}] <your stuff here>'.

Is there something specific you'd like to add to those status lines? We would love to see what you create on #317 :)

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

4 participants