docs: add instructions for adding new plugins

This commit is contained in:
Abhishek Keshri 2024-03-17 08:20:49 +05:30
parent d6ac3d6055
commit b94e924203
No known key found for this signature in database

View file

@ -55,6 +55,12 @@ Available Plugins:
- `time`: Show current time and date
- `weather`: Show weather information
### Add New Plugins
To add a new plugin, add a script to the [scripts](./scripts) folder that prints something to the console.
> The plugin name and script file name must match e.g: plugin named `foo` should have a file called `scripts/foo.sh`
## Prerequisites
Before you begin, ensure you have met the following requirements:
@ -117,6 +123,8 @@ set -g @tmux2k-[plugin-name]-colors "[background] [foreground]"
set -g @tmux2k-cpu-colors "blue dark_gray"
```
> You may have to restart `tmux` for some changes to reflect
### Colors
### Available Colors: