Commit graph

22 commits

Author SHA1 Message Date
Bryan Hoang
408c02ccf4
fix(uptime): filter out singular "user" string in sed expression (#255)
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
2024-07-19 09:50:21 +00:00
Iván Arjona Alonso
598e9e9193
Add support to kube-tmux in status bar (#249)
* Add support to kube-tmux in status bar

---------

Co-authored-by: vdbe <44153531+vdbe@users.noreply.github.com>
2024-07-15 15:07:52 +00:00
Kilian Mio
33c4fd62df
fix: better default for application.sh (#246) 2024-07-12 16:33:14 +00:00
Daniel Nocito
893917360d
Add support to tmux-pomodoro-plus plugin in status bar (#241)
* Add support to tmux-pomodoro-plus plugin in status bar

* Update README.md with setup information for the pomodoro module
2024-07-02 15:13:24 +00:00
Zoket
a10163042b
fix(status): support tmux-battery attached status icon (#201) 2024-04-29 18:41:57 +00:00
chacon
b26eb2fa6d
Adding git to status (#191)
* added git.sh file

* added instrucctions to README.md

* instruccions typo corrections

* Customize git module and instrucctions

* Correction for Shellcheck / Shellcheck (pull_request) test. added escape caracters \ in n git.sh script

* Rename the module to gitmux

* README.md corrections

* README.md typo corrections
2024-04-17 12:52:10 +02:00
vdbe
61727758ac
Cleanup shellcheck warnings (#178)
* chore: shellcheck-warnings for catppuccin.tmux

Command used: `shellcheck catppuccin.tmux -ax -s bash`

* shellcheck: fix all warnings

Command used: `shellcheck -a catppuccin.tmux $(ls custom/*.sh pane/*.sh status/*.sh window/*.sh)`

* shellcheck: update workflow to check warnings

* shellcheck: include warnings from sourced files
2024-03-30 21:07:56 +01:00
vdbe
e80cb735bb
feat(uptime): replace plugin with sed (#163)
* module(uptime): replace plugin with custom sed

* module(uptime): update doc
2024-03-22 19:29:25 +01:00
Muhammad Zafar
d0371badc7
Add tmux-clima as another module for weather (#161)
* 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>
2024-03-18 14:16:23 +01:00
Valentin Uveges
6cb9e77e7b
Merge branch 'main' into feat-load-module 2024-03-07 07:32:12 +02:00
Henri Sota
307edce7da feat(load): add load module based on jamesoff/tmux-loadavg 2024-02-18 10:34:21 +01:00
Henri Sota
1882a27925 feat(uptime): add uptime module based on robhurring/tmux-uptime 2024-02-17 21:04:18 +01:00
Edman P. Anjos
50d5fe6c6e feat(weather): add weather module for xamut/tmux-weather
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 ..."
2024-01-26 21:29:26 +01:00
Einherjar
a4a50cfd69
feat(cpu): add cpu module
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 ..."
2023-10-30 19:02:21 -03:00
Valentin Uveges
7a284c98e5 fix(space): fix isse with whitespace trimming from separators 2023-08-21 08:04:44 +03:00
Valentin Uveges
2beae09938 feat(module): rework the session module, format code, rework module loader 2023-08-18 08:17:37 +03:00
Valentin Uveges
79229bd979 feat(battery): add battery module 2023-08-10 08:04:52 +03:00
Valentin Uveges
c7ee28aafe feat(modules): simplify parameters and use consistency in naming 2023-08-09 11:44:36 +03:00
Valentin Uveges
08c0aaa5b4 feat(modules): update documentation 2023-08-08 15:12:36 +03:00
Valentin Uveges
703c2f7f0a feat(modules): bug fix and add inverse collor option for status right separator 2023-08-08 12:23:11 +03:00
Valentin Uveges
3b4bf404db feat(modules): refactor modules and extract common functionality 2023-08-08 11:45:45 +03:00
Valentin Uveges
56a447094a feat(modules): extract all ui components into independend modules 2023-08-06 20:51:23 +03:00