Implement auto reload of config

This commit is contained in:
Kovid Goyal
2026-04-16 14:39:51 +05:30
parent efbfbb49f9
commit e9f3844f64
8 changed files with 29 additions and 4 deletions

View File

@@ -181,6 +181,8 @@ Detailed list of changes
- Draw a progress bar at the top of the window when a program reports progress using the OSC 9;4 escape sequence, controlled by :opt:`progress_bar` (:iss:`9777`)
- Automatically reload configuration on changes, controlled by :opt:`auto_reload_config`
- Allow specifying multiple background images for :opt:`background_image` that are stored on GPU to allow fast image switching (:pull:`9836`)
- :doc:`Remote control <remote-control>`: Expose :code:`session_name` and :code:`last_focused_at` in the output of ``kitten @ ls`` for each window (:iss:`9732`, :iss:`9799`)

View File

@@ -16,7 +16,8 @@ frames-per-second. See below for an overview of all customization possibilities.
You can open the config file within |kitty| by pressing :sc:`edit_config_file`
(:kbd:`⌘+,` on macOS). A :file:`kitty.conf` with commented default
configurations and descriptions will be created if the file does not exist.
You can reload the config file within |kitty| by pressing
The configuration is automatically reloaded when modified, controlled by
:opt:`auto_reload_config`. You can manually reload the config by pressing
:sc:`reload_config_file` (:kbd:`⌃+⌘+,` on macOS) or sending |kitty| the
``SIGUSR1`` signal with ``kill -SIGUSR1 $KITTY_PID``. You can also display the
current configuration by pressing :sc:`debug_config` (:kbd:`⌥+⌘+,` on macOS).