Help with si(locked) formula and fade out function after unlock

Hi there, new to kwlp is there I way to show a custom.text box notification on the home screen wallpaper upon unlocking the phone and have this show.for a period of time then dissapear but then reappear upon unlock again?

I'm currently using $si(locked)=0$ and animation fade out the icon I want to show does show up after unlocking the phone but I want it to fade out after 20seconds or so. How do I achieve this?

Maybe you can use the same trigger si locked, and use an animation fade in to make it fade, and use a delay of 200 to show it for 20 seconds.

Take in mind that the delay are going to work in reverse too, you can test this and see how it work.

Thank you, how I didn't think of that works a treat.

👌😃