From 5d58f2f4cc5472f555e9a43c45c374c7ac7127f8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 16 Sep 2026 11:48:38 +0530 Subject: [PATCH] cleanup docs for previous PR --- docs/changelog.rst | 4 ---- docs/custom-shaders.rst | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 256733745..bd70e430c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -204,10 +204,6 @@ Detailed list of changes - Support for :doc:`/custom-shaders` for adding various graphical effects (:iss:`10344`) -- Custom shaders: Allow tinting inactive windows toward a configurable color, - preserving the tab bar and active window padding. Support static effects - without periodic redraws, and fix re-enabling a previously disabled shader. - - Various throughput performance improvements for a 15-35% real world improvement depending on workload - Add :opt:`window_border_radius` for rounded window borders (:pull:`10421`) diff --git a/docs/custom-shaders.rst b/docs/custom-shaders.rst index 9a2ee0b3b..7468c33c0 100644 --- a/docs/custom-shaders.rst +++ b/docs/custom-shaders.rst @@ -55,7 +55,7 @@ Customising and composing shaders ----------------------------------- While you can always customise the shader by editing the shader itself, this is -overkill. Often shader declare parameters that you can tune to customise their +overkill. Often shaders declare parameters that you can tune to customise their appearance. If you open the shader file such parameters are often declared near the top as ``static const`` variables. You can customise these using pipeline files without needing to edit the shader itself. You can also compose multiple @@ -79,7 +79,7 @@ mouse shader. In the first group we have the crt shader and its color has been customised. The second group defines the spotlight shader and specifies exactly when the spotlight animation should start and stop. -For example, to blend inactive windows toward gray instead of black, save the +As another example, to blend inactive windows toward gray instead of black, save the following as :file:`shaders/dim-gray.pipeline` in your kitty config directory and set ``custom_shaders dim-gray`` and ``inactive_text_alpha 1`` in :file:`kitty.conf`::