Skip to content

Commit

Permalink
clarification on the names of plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Theoreticallyhugo committed Oct 24, 2024
1 parent fd6ed80 commit 8885d01
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,8 @@ set -g @dracula-git-show-remote-status true
```

### gpu-info - [up](#table-of-contents)
**gpu-usage, gpu-ram-usage, gpu-power-draw**

These widgets display the current computational, ram, and power usage of installed graphics cards.
They are split into widgets with the names: `gpu-usage, gpu-ram-usage, gpu-power-draw`.

hardware support:
- full support for NVIDIA gpus on linux.
Expand Down Expand Up @@ -356,7 +355,7 @@ set -g @dracula-hg-no-untracked-files false
```

### Kerberos TGT - [up](#table-of-contents)
**krbtgt**
This widgets name is `krbtgt`.

Set the principal to check the TGT expiration date for (with or without the REALM)

Expand Down Expand Up @@ -595,19 +594,5 @@ set -g @dracula-show-location false
```

### custom:script-name - [up](#table-of-contents)
**TODO**

```
for plugin in "${plugins[@]}"; do
if case $plugin in custom:*) true;; *) false;; esac; then
script=${plugin#"custom:"}
if [[ -x "${current_dir}/${script}" ]]; then
IFS=' ' read -r -a colors <<<$(get_tmux_option "@dracula-custom-plugin-colors" "cyan dark_gray")
script="#($current_dir/${script})"
else
colors[0]="red"
colors[1]="dark_gray"
script="${script} not found!"
fi
```
For testing/ running custom plugins, put the bash script into the scripts directory of dracula/tmux plugin.
Additionally, in the `@dracula-plugins` option, add the script as `custom:name-of-script.sh`.

0 comments on commit 8885d01

Please # to comment.