Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kitty @ set-colors issue #632

Closed
SolitudeSF opened this issue Jun 12, 2018 · 8 comments
Closed

kitty @ set-colors issue #632

SolitudeSF opened this issue Jun 12, 2018 · 8 comments

Comments

@SolitudeSF
Copy link
Contributor

SolitudeSF commented Jun 12, 2018

after running kitty @ set-colors -a "$XDG_CONFIG_HOME/kitty/colors.conf" to reapply default colors some colors get changed to incorrect values, but only in the terminal its ran in. it works only with -a flag and it only works in one window from --single-instance group. further invocations in other windows of the same group have no effect.

2018-06-12_22 38 29
2018-06-12_22 38 49

@kovidgoyal
Copy link
Owner

Changing colors is supposed to change them only in one window, unless you use the --all and --configured options. And running it with kitty.conf will not change all colors, since kitty.conf typically does not contain all color definitions, only the first 16 out of 256

@SolitudeSF
Copy link
Contributor Author

SolitudeSF commented Jun 13, 2018

i do provide --all flag. the problem is that in the window the command is and only in that window run some colors get changed to wrong ones.

@kovidgoyal
Copy link
Owner

Hmm, I cannot replicate that, can you provide a minimal example? Something like

kitty @ set-colors foreground=red background=gray

or whatever to recreate the issue.

@SolitudeSF
Copy link
Contributor Author

SolitudeSF commented Jun 13, 2018

i couldnt recreate it by specifying colors on the commandline.
but i can reliably recreate it by sourcing this colors.conf:

color0  #4a3637
color8  #402e2e
color1  #d17b49
color9  #ac5d2f
color2  #7b8748
color10 #647035
color3  #af865a
color11 #8f6840
color4  #535c5c
color12 #444b4b
color5  #775759
color13 #614445
color6  #6d715e
color14 #585c49
color7  #c0b18b
color15 #978965

with kitty @ set-colors -a colors.conf. also, in my experience it affects the colors that is supposed to be red.

@SolitudeSF
Copy link
Contributor Author

SolitudeSF commented Jun 13, 2018

actually, you dont need to specify all colors. the red color in the target window gets changed to whatever color was specified last in the config. i can reliably change the red in the terminal to any color from the colorscheme by commenting/uncommenting individual lines. and again, it works only with -a flag even tho it affects one window.

@SolitudeSF
Copy link
Contributor Author

thank you

@LnLcFlx
Copy link

LnLcFlx commented May 7, 2020

I still have this issue in 0.17.3.

@knezi
Copy link

knezi commented Jun 17, 2020

I still have this issue in 0.17.3.

First, this is fixed in 0.17.4, not 0.17.3.

Second, make sure to distinguish between kitty window and wayland window. Remote control only affects windows within one kitty instance. This is quite confusing and maybe should be better specified in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants