kitty: add onChange configuration reload
This commit is contained in:
parent
66d9dbfa36
commit
ad05443e04
|
@ -110,7 +110,11 @@ in {
|
|||
|
||||
home.packages = [ pkgs.kitty ] ++ optionalPackage cfg.font;
|
||||
|
||||
xdg.configFile."kitty/kitty.conf".text = ''
|
||||
xdg.configFile."kitty/kitty.conf" = {
|
||||
onChange = ''
|
||||
${pkgs.procps}/bin/pkill -USR1 -u $USER kitty || true
|
||||
'';
|
||||
text = ''
|
||||
# Generated by Home Manager.
|
||||
# See https://sw.kovidgoyal.net/kitty/conf.html
|
||||
|
||||
|
@ -128,6 +132,7 @@ in {
|
|||
|
||||
${cfg.extraConfig}
|
||||
'';
|
||||
};
|
||||
|
||||
xdg.configFile."kitty/macos-launch-services-cmdline" =
|
||||
mkIf (cfg.darwinLaunchOptions != null) {
|
||||
|
|
Loading…
Reference in a new issue