* feat(window-builder): get window separator based on window type
* feat(window-format): send window type param to builder
fix: apply suggestions from code review
* feat(readme): add window type separator options
Need this to be interpreted when tmux status is updated rather than when
this script executes as the value is set in the tmux env rather than the
current shell
`@catppuccin_window_status_enable` and
`@catppuccin_window_status_icon_enable` have been merged into
`@catppuccin_window_status`.
Current configurations will remain to work but receive a warning message of the
change.
Most catppuccin ports have adopted the spelling flavor.
`@catppuccin_flavour` is still available but no longer documented and
`@catppuccin_flavor` takes priority.
* feat: batch tmux show options
* dont check for duplicates
* fix: status modules
* batch and cache build_window_icon
* perf: batch new options
* chore: tmux_batch_setup_module -> tmux_batch_setup_status_module
* fixup! perf: batch tmux show-options (#240)
Changes the line separator used by tmux_batch from ':' to the ascii unit
separator
FIXES: #240
* fix: string escaping of `..._tmux_batch_...`
`tmux show -v <option>` returns/prints the escaped value while the value string
of `tmux show <option>` is not escaped.
FIXES: #281
`tmux_echo` now uses hooks this allows it to print on the first load. To cleanup the hooks every hook gets a _unique_ number/index, this is _not_ enforced.
* feat: batch tmux show options
* dont check for duplicates
* fix: status modules
* batch and cache build_window_icon
* perf: batch new options
* chore: tmux_batch_setup_module -> tmux_batch_setup_status_module
* feat: bootstrap release please
* docs: add instruction to install a tag/release via tpm
* chore: add `tmux.conf` placeholder for bug template
* docs: add CONTRIBUTING.md
Copied from 3fdc011242/CONTRIBUTING.md
* refactor: change vlatest to latest
* docs: remove merge instructions
* docs: use full version as tag msg
Previously, on machines where the logged-in user count is 1, the `sed`
expression to filter out "... X users, ..." doesn't filter out "... X
user, ...", leading to something like
```
1h 05, 1 user, load average: 0.05, 0.72, 1.62m
```
being displayed in the module. When the user count is greater than 1
(e.g., after `ssh localhost`), the `uptime` module displays
```
1h 05m
```
as expected.
The Stack Overflow answer the `sed` expression is based on [^1][^2]
doesn't seem to consider the case when the user count is 1.
With this patch, the `uptime` module display correctly when the user
count is 1.
[^1]: https://stackoverflow.com/a/28353785
[^2]: https://github.com/catppuccin/tmux/pull/163
print/echo a warning when a `catppuccin_status_modules_right/left` is
trying to load a none existing module.
This does only work when reloading (`tmux source ~/.tmux.conf` /
`tmux source ~/.config/tmux/tmux.conf`)