mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-05 09:18:33 +00:00
Northern lights should stop animating on idle/focus out
This commit is contained in:
parent
a782e3736b
commit
0820a38252
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue