How do I create a script that runs when unlocking after sleep?

Hi! This question actually came up here a couple of weeks ago, and while there isn’t a direct interface like the “Configure Notifications” dialog shown above from Plasma 5, some other approaches are definitely possible:

Hope that helps,