Setting transparent colors with set-colors #8675
Answered
by
kovidgoyal
rivenirvana
asked this question in
Q&A
Replies: 1 comment 2 replies
-
On Fri, May 23, 2025 at 11:37:29PM -0700, Arvin Verain wrote:
I'm assuming I can do this, specifically without using a conf file and just manually invoking @ set-colors. What should this look like when using in prompt and via `call_remote_control`, particularly setting multiple transparent colors? Is it like this, where `transparent_background_colors` key is only used once?
```sh
kitty @ set-colors ***@***.*** ***@***.***'
```
```python
boss.call_remote_control(window, ('set-colors', f'--match=id:{window.id}', ***@***.*** ***@***.***'))
```
yes, call_remote_control takes the argv you would pass to kitten @
Also, in the color control docs, there is `transparent_background_color1..8` and `transparent_background_colors` option only takes up to 7. Is this correct?
IIRC, it's 8 so you can control the opacity of the default background
color. There are a total of 8 allowed transparent bg colors, the default
bg and the 7 extra colors. Though it may be a mistake, would have to check the code.
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
rivenirvana
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm assuming I can do this, specifically without using a conf file and just manually invoking @ set-colors. What should this look like when using in prompt and via
call_remote_control
, particularly setting multiple transparent colors? Is it like this, wheretransparent_background_colors
key is only used once?kitty @ set-colors transparent_background_colors='red@0.9 blue@0.2'
Also, in the color control docs, there is
transparent_background_color1..8
andtransparent_background_colors
option only takes up to 7. Is this correct?Beta Was this translation helpful? Give feedback.
All reactions