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

feat(status, window): add option to make overwrite status background … #170

Merged
merged 4 commits into from
Mar 24, 2024

Conversation

89iuv
Copy link
Collaborator

@89iuv 89iuv commented Mar 23, 2024

This PR adds 2 new options

Set the window separator

set -g @catppuccin_window_separator ""

Override the default status bar background color

set -g @catppuccin_status_background "theme"

This will overwrite the status bar background:

  • "theme" will use the color from the selected theme
  • "default" will make the status bar transparent
  • use hex color codes for other colors

This should fix issues:

@89iuv 89iuv requested a review from vdbe March 23, 2024 19:27
@89iuv 89iuv mentioned this pull request Mar 24, 2024
@89iuv 89iuv merged commit 809361f into main Mar 24, 2024
3 checks passed
@89iuv 89iuv deleted the feature/add-new-options branch March 24, 2024 08:36
@Gaurav-Gosain
Copy link

Thank you so much for this change! Not sure if this is the right place to ask this but do you know of a way to get rid of these backgrounds and make it completely transparent?

image

@vdbe
Copy link
Contributor

vdbe commented Mar 24, 2024

$thm_bg needs to be replaced with $status_background inside built_status_module

@Gaurav-Gosain
Copy link

So I managed to get it working for my local setup by doing the following:

image

I use catppuccin-mocha so I modified ~/.tmux/plugins/tmux/catppuccin-mocha.tmuxtheme and set the thm_bg variable to default.

thm_bg="default"

This gets most of the job done and should be plenty for most. However after doing this, the background of the icons changed to a light gray which didn't look good with my setup so I went ahead and modified the fg for show_icon to use $thm_gray instead of $thm_bg.

Hope this helps someone :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants