waveterm
waveterm copied to clipboard
[Bug]: Cava decolouration
Current Behavior
When using cava as a command as a custom widget, it doesn't work for me. Using bash -lic cava does, however. The issue is when cava is no longer the active terminal, the colour changes quite drastically.
Expected Behavior
I don't expect cava to change colour so drastically, and I'm not sure if that's a cava issue or a wave issue, or some incompatibility
Steps To Reproduce
- Use waveterm
- Add this widget:
"cava": {
"icon": "chart-simple",
"label": "cava",
"blockdef": {
"meta": {
"view": "term",
"controller": "cmd",
"cmd": "bash -lic cava"
}
}
}
- Add this into your cava config:
[color]
# vertical rainbow gradient (bottom → top)
gradient = 1
gradient_color_1 = '#8B00FF' # violet (lowest)
gradient_color_2 = '#0000FF' # blue
gradient_color_3 = '#00FFFF' # cyan
gradient_color_4 = '#00FF00' # green
gradient_color_5 = '#FFFF00' # yellow
gradient_color_6 = '#FF7F00' # orange
gradient_color_7 = '#FF0000' # red (highest)
- Run the widget
- Click on a different terminal
- Done
Wave Version
v0.11.3
Platform
Linux
OS Version/Distribution
Zorin OS 17.3
Architecture
x64
Anything else?
Here is the before:
Here is the after:
Questionnaire
- [x] I'm interested in fixing this myself but don't know where to start
- [ ] I would like to fix and I have a solution
- [ ] I don't have time to fix this right now, but maybe later