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

chore: replace @message_background with an hidden variable #313

Merged
merged 1 commit into from
Sep 15, 2024

Conversation

vdbe
Copy link
Contributor

@vdbe vdbe commented Sep 15, 2024

This does not add extra option when using tmux show -g (or unsetting it later) and does not require expansion with #{@.

@kjnsn
Copy link
Collaborator

kjnsn commented Sep 15, 2024

Can you please add a description to the PR and/or commit message explaining the "why" of this change?

@kjnsn kjnsn merged commit 605f417 into catppuccin:tmux-native Sep 15, 2024
1 of 2 checks passed
kjnsn added a commit that referenced this pull request Sep 30, 2024
refactor!: Rewrite to use native tmux configuration (#306)


Co-authored-by: vdbe <44153531+vdbe@users.noreply.github.com>

* Apply tmux.tera and comment suggestions from code review

* Cleanup test harness

* Make tests work for multiple lines

* Add a test helper script

* Add status line theming

* Fix shellcheck errors

* Fix test errors

---------

Co-authored-by: vdbe <44153531+vdbe@users.noreply.github.com>

* Use the full pallete to allow for user customisation

* First working tmux-native config

* Follow the style guide and add popup styling

* fix: `thm_gray`` -> `thm_surface_0`` (#312)

Color names were replaced with upstream names.

* Make the status line application module work

* Fix tests

* Add test for the application module

* chore: replace `@message_background` with an hidden variable (#313)

* Only set menu styling and popup styling on versions >= 3.4

* Always run the test tmux server under bash

* Convert session and load modules

* fix: test application use placeholder

Replace the commands with a known placeholder, this makes the tests
independent of a users preferred shell.

* chore: improve testing (#314)

- fail tests if test scripts exit's with none 0 code
- don't expand option by default
- check all if colors are expanded
- check if module text is not expanded

* Feat/tmux native/status modules (#315)

* chore: improve testing

- fail tests if test scripts exit's with none 0 code
- don't expand option by default
- check all if colors are expanded
- check if module text is not expanded

* feat(status): more modules

* Add style for window statuses

* Format readme.md with markdownlint

* Add slanted and rounded options for the window status

* Fix the application module test to ensure it works on macos

* Port window status separators and colours

* Remove dead code that is no longer used

* Expand installation instructions in the readme

* feat: more modules

* Support pane styling

* update pane styling information and colour values in the readme

* Add all window styling options

* Connect status separators when enabled

* Update readme regarding modules

* fix(session): add missing #

* fixup! fix(session): add missing #

* fix(status): works for all example/default configs

* feat(status): middle separator

* feat(status/window): icons (#320)

* feat(status/window): icons

* chore: update icon order comments

* Fix the status module builder and tests

* fix: remove forgotten misplaced line

* Update the docs regarding custom modules and tidy up some formatting

* Ensure the tmux server is destroyed when the test exits

* fix(status): set status-left/right-length correctly

* docs: update readme

* fix: pane-format (#322)

* fix(window): ensure the window styling options work

* Fix the example configs in the readme

---------

Co-authored-by: vdbe <44153531+vdbe@users.noreply.github.com>
Co-authored-by: vdbewout <vdbewout@gmail.com>
pauldthomson pushed a commit to pauldthomson/tmux that referenced this pull request Nov 14, 2024
…#318)

refactor!: Rewrite to use native tmux configuration (catppuccin#306)


Co-authored-by: vdbe <44153531+vdbe@users.noreply.github.com>

* Apply tmux.tera and comment suggestions from code review

* Cleanup test harness

* Make tests work for multiple lines

* Add a test helper script

* Add status line theming

* Fix shellcheck errors

* Fix test errors

---------

Co-authored-by: vdbe <44153531+vdbe@users.noreply.github.com>

* Use the full pallete to allow for user customisation

* First working tmux-native config

* Follow the style guide and add popup styling

* fix: `thm_gray`` -> `thm_surface_0`` (catppuccin#312)

Color names were replaced with upstream names.

* Make the status line application module work

* Fix tests

* Add test for the application module

* chore: replace `@message_background` with an hidden variable (catppuccin#313)

* Only set menu styling and popup styling on versions >= 3.4

* Always run the test tmux server under bash

* Convert session and load modules

* fix: test application use placeholder

Replace the commands with a known placeholder, this makes the tests
independent of a users preferred shell.

* chore: improve testing (catppuccin#314)

- fail tests if test scripts exit's with none 0 code
- don't expand option by default
- check all if colors are expanded
- check if module text is not expanded

* Feat/tmux native/status modules (catppuccin#315)

* chore: improve testing

- fail tests if test scripts exit's with none 0 code
- don't expand option by default
- check all if colors are expanded
- check if module text is not expanded

* feat(status): more modules

* Add style for window statuses

* Format readme.md with markdownlint

* Add slanted and rounded options for the window status

* Fix the application module test to ensure it works on macos

* Port window status separators and colours

* Remove dead code that is no longer used

* Expand installation instructions in the readme

* feat: more modules

* Support pane styling

* update pane styling information and colour values in the readme

* Add all window styling options

* Connect status separators when enabled

* Update readme regarding modules

* fix(session): add missing #

* fixup! fix(session): add missing #

* fix(status): works for all example/default configs

* feat(status): middle separator

* feat(status/window): icons (catppuccin#320)

* feat(status/window): icons

* chore: update icon order comments

* Fix the status module builder and tests

* fix: remove forgotten misplaced line

* Update the docs regarding custom modules and tidy up some formatting

* Ensure the tmux server is destroyed when the test exits

* fix(status): set status-left/right-length correctly

* docs: update readme

* fix: pane-format (catppuccin#322)

* fix(window): ensure the window styling options work

* Fix the example configs in the readme

---------

Co-authored-by: vdbe <44153531+vdbe@users.noreply.github.com>
Co-authored-by: vdbewout <vdbewout@gmail.com>
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.

2 participants