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
* Add tmux-clima as a module
* Update tmux option names according to the clima module
* Add README for tmux-clima
* Update README.md according to suggestions
* Remove unnecessary readme part
---------
Co-authored-by: vdbewout <vdbewout@gmail.com>
Weather module
Requirements
This module depends on https://github.com/xamut/tmux-weather.
Install
The preferred way to install tmux-weather is using TPM.
Configure
Load tmux-weather after you load catppuccin.
set -g @plugin 'catppuccin/tmux'
...
set -g @plugin 'xamut/tmux-weather'
Add the weather module to the status modules list.
set -g @catppuccin_status_modules" "... weather ..."
CPU module
Requirements
This module depends on [`tmux-cpu`](https://github.com/tmux-plugins/tmux-cpu).
Install
The prefered way to install tmux-cpu is using [TPM](https://github.com/tmux-plugins/tpm).
Configure
Load tmux-cpu after you load catppuccin.
set -g @plugin 'catppuccin/tmux'
...
set -g @plugin 'tmux-plugins/tmux-cpu'
Add the cpu module to the status modules list.
set -g @catppuccin_status_modules" "... cpu ..."