Need help on how i can i make a text that showing in idle mode after 1 mins!

Well in this case, i think it’s better to make a widget. I want to be able to animate the text.
So, if i create a widget, what is the workflow to make the widget appear when there’s no activity with the mouse or with the keyboard?