Commit graph

226 commits

Author SHA1 Message Date
vdbe
5fbacdf355
feat: releases (#260)
* 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
2024-08-04 14:16:57 +00:00
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
given
004467850b
Update docs to explain color/background swap (#251) 2024-07-18 13:25:51 +00:00
vdbe
39dea78206
fixup! fix: status module trailing space transparancy (#250) (#253)
don't change `show_text`
2024-07-17 19:20:44 +00:00
vdbe
735363e7a0
fix: status module trailing space transparancy (#250) 2024-07-15 22:35:02 +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
Chet Luther
49972658aa
feat(menu): add menu style options (#247)
add menu style options to allow `#{thm_x}` styling of menus.

- @catppuccin_menu_style (`menu-style`)
- @catppuccin_menu_selected_style (`menu-selected-style`)
- @catppuccin_menu_border_style (`menu-border-style`)
2024-07-15 15:04:49 +00:00
Kilian Mio
33c4fd62df
fix: better default for application.sh (#246) 2024-07-12 16:33:14 +00:00
vdbe
ff6dacb12f
feat: warning when trying to load a missing module (#244)
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`)
2024-07-12 07:04:07 +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
renovate[bot]
e7cd05facc
chore: Configure Renovate (#231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-09 21:52:21 +01:00
vdbe
9da7bb5e2e
build: bump whiskers to 2.1.1 (#222)
whiskers 2.1.1 no longer eats trailing newlines
2024-05-23 17:39:08 +00:00
vdbe
4ca26b774b
docs/cleanup (#219)
* doc(README): use default values as example

* doc(README): remove unused options

* doc(README): remove dead link

* doc(README): fix theme links
2024-05-18 17:47:12 +00:00
vdbe
697087f593
Fix/test old bash (#216)
* test(old-bash): use tmux instead of mocking it

* quote output
2024-05-12 16:34:44 +00:00
vdbe
c056412238
fixup! Feat: interpolate colors (#208) (#214)
macos bash version (3.2.57) does not support the `"${val:1:-1}"` syntax
2024-05-12 07:22:55 +00:00
vdbe
4a561f9f08
fixup! Feat: interpolate colors (#208) (#210)
add missing argument
2024-05-11 16:35:46 +00:00
vdbe
6ba7a72925
Feat: interpolate colors (#208)
* feat: interpolate theme colors

* doc: add interpolated colors to readme
2024-05-11 16:23:05 +00:00
vdbe
2292669be3
refactor(theme): use whiskers (#207) 2024-05-11 15:26:41 +00:00
vdbe
804f060fe1
Revert "fix(window_builder): number position left (#205)" (#209)
This reverts commit c0e072cb8b.
2024-05-11 10:01:16 +00:00
vdbe
75ffbfea01
fix(pane_builder): use default background instead of thm_bg (#204)
fix #180
2024-05-10 12:48:39 +00:00
vdbe
c0e072cb8b
fix(window_builder): number position left (#205)
Middle separator color was inverted when number position left
2024-05-10 12:47:23 +00:00
Zoket
a10163042b
fix(status): support tmux-battery attached status icon (#201) 2024-04-29 18:41:57 +00:00
Hammy
a556353d60
chore(issue-templates): fix show & tell discussion link (#196) 2024-04-21 12:38:55 +01:00
Hammy
67e8f231fd
docs: add issue templates (#195)
* docs: add issue templates

* refactor: mention show and tell
2024-04-21 10:26:01 +02:00
lluchkaa
69d37dfbb0
Respect status_background in message-style (#193)
* respect status background in message style

* move message_background to existing block
2024-04-20 10:43:59 +02: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
5ed4e8a6a2
fixup! Cleanup shellcheck warnings (#178) (#179)
Dont remove checking for `catppuccin.tmux`
2024-03-30 22:11:39 +01: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
Valentin Uveges
a1079943b6
feat: improve transparent background (#175)
* feat: improve transparent background

* fix: fix for config2

* chore: remove status right separator invert

* chore: update config presets in documentation
2024-03-28 18:55:01 +02:00
Valentin Uveges
e2d345648c
Move code out of main (#172)
* feat(status, window): add option to make overwrite status background color, add option to set the separator between windows

* feat(window): update documentation

* feat(window): update documentation

* feat(refactor): move code out of main and into separated files

* Update catppuccin.tmux

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

* Update catppuccin.tmux

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

---------

Co-authored-by: vdbe <44153531+vdbe@users.noreply.github.com>
2024-03-24 13:33:34 +02:00
Valentin Uveges
809361f5c2
feat(status, window): add option to make overwrite status background … (#170)
* feat(status, window): add option to make overwrite status background color, add option to set the separator between windows

* feat(window): update documentation

* feat(window): update documentation
2024-03-24 10:36:51 +02: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
Valentin Uveges
6e40906b2d
fix(window_status): fix window space between text, window status, right separator (#168) 2024-03-18 16:33:08 +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
Ikko Eltociear Ashimine
c0861b7861
docs(README.md): fix typo prefered -> preferred 2024-03-17 22:26:48 +00:00
David Kaufman
843946e176
make status_justify configurable (#145)
* make status_justify configurable

* added README

* moved below status_default

* refactor: pr comments

---------

Co-authored-by: Hamothy <58985301+sgoudham@users.noreply.github.com>
Co-authored-by: sgoudham <sgoudham@gmail.com>
2024-03-17 16:43:29 +01:00
qadzek
2a3bc9ea91
Clarify creating a custom module (#164)
* Clarify creating a custom module

* Fix path

Co-authored-by: Hamothy <58985301+sgoudham@users.noreply.github.com>

* Fix formatting and mention required plugins

* docs: indentation & small tweaks

---------

Co-authored-by: Hamothy <58985301+sgoudham@users.noreply.github.com>
Co-authored-by: sgoudham <sgoudham@gmail.com>
2024-03-17 16:41:20 +01:00
vdbe
4eb10fa510
ci: add testing & shellcheck workflows (#159) 2024-03-15 15:34:04 +00:00
vdbe
cece0c3677
Merge pull request #158 from JesseStorms/patch-1
Fixed typos and formatting oversight in readme.md
2024-03-13 18:51:07 +01:00
Jesse Storms
45e4dec2bb
Fixed typos and formatting oversight in readme.md 2024-03-13 18:36:53 +01:00
vdbe
f31184d099
Merge pull request #156 from xwjdsh/feat/add-space-to-window-status-icon
Add space to default window status icons
2024-03-12 18:32:02 +01:00
Wen Sun
8cb36097d1
Add space to default window status icons 2024-03-12 10:05:44 +09:00
vdbe
32df6db4b4
refactor: re-include gitignore (#154)
Ignore custom (with the exception of documentation/examples)
so no custom user modules make it upstream
2024-03-07 16:58:25 +00:00
Valentin Uveges
aa12d6f0ef
Merge pull request #148 from connordeckers/main
feat(config): allow status bar to be disabled by default
2024-03-07 07:36:41 +02:00
Valentin Uveges
6cf7bfff78
Merge pull request #139 from henrisota/feat-load-module
feat(load): add load module based on jamesoff/tmux-loadavg
2024-03-07 07:32:24 +02:00
Valentin Uveges
6cb9e77e7b
Merge branch 'main' into feat-load-module 2024-03-07 07:32:12 +02:00
Valentin Uveges
3207eca990
Merge pull request #138 from henrisota/feat-uptime-module
feat(uptime): add uptime module based on robhurring/tmux-uptime
2024-03-07 07:29:19 +02:00
Valentin Uveges
d91c5b082d
Merge pull request #133 from YongJieYongJie/feat/different-border-color-if-pane_synchronized
feat(pane): different border color if pane_synchronized
2024-03-07 07:28:41 +02:00
Henri Sota
219ff4330b
docs(README.md) use correct option for default window color (#137) 2024-03-07 01:02:05 +00:00
Hamothy
0f1d4a365e
docs(custom): fix outdated module name (#153) 2024-03-07 00:55:28 +00:00