From 0820a38252dd4a42b94f8e80bb517ba6ef0bb9c2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 11 Aug 2026 08:50:05 +0530 Subject: [PATCH] Northern lights should stop animating on idle/focus out --- kitty/shaders/custom/northern-lights.pipeline | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kitty/shaders/custom/northern-lights.pipeline b/kitty/shaders/custom/northern-lights.pipeline index 0d29d9c37..72e892b72 100644 --- a/kitty/shaders/custom/northern-lights.pipeline +++ b/kitty/shaders/custom/northern-lights.pipeline @@ -1,18 +1,22 @@ textures a persist startgroup + animation_start os-window-focus-in | user-activity + animation_stop os-window-focus-out | user-idle var int STAGE = 0 shaders northern-lights output_texture a endgroup startgroup + attach var int STAGE = 1 shaders northern-lights output_texture persist endgroup startgroup + attach var int STAGE = 2 shaders northern-lights endgroup