matugen icon indicating copy to clipboard operation
matugen copied to clipboard

Kitty reload takes several seconds

Open mylinuxforwork opened this issue 7 months ago • 7 comments

Hi,

I have followed the setup of your kitty color template and I want to reload the colors of kitty after generating the color files.

But when I use your proposed command, the system doesn’t react for few seconds and the colors are not changing.

Any idea?

mylinuxforwork avatar May 01 '25 15:05 mylinuxforwork

does it happen after matugen genrated colors?

enessmr avatar May 07 '25 12:05 enessmr

Not sure. I will check.

mylinuxforwork avatar May 09 '25 05:05 mylinuxforwork

Hi, I'm experiencing the same issue. Have you found a solution for this?

vinj026 avatar May 14 '25 14:05 vinj026

this is the solution i found: post_hook = "kill -SIGUSR1 $(pidof kitty)"

se735 avatar May 23 '25 01:05 se735

Then you will have to restart it (sended via email)

enessmr avatar May 23 '25 04:05 enessmr

post_hook = "kill -SIGUSR1 $(pidof kitty)"

thanks a lot it solve issue of coloring on the fly

0xsam1r avatar Jul 07 '25 02:07 0xsam1r

post_hook = "kill -SIGUSR1 $(pidof kitty)"

thanks a lot it solve issue of coloring on the fly

The only solution i found for reloading all kitty instances


[templates.kitty]
  input_path  = '~/.config/matugen/templates/kitty.template'
  output_path = '~/.config/kitty/themes/colors-matugen.conf'
  post_hook   = 'kitty +kitten themes --reload-in=all Colors-Matugen'

Vantesh avatar Jul 12 '25 14:07 Vantesh