On *:Start: { .timeridle 0 1 idlecnt } alias idlecnt { if ($duration($idle) == 0secs) return titlebar $duration($idle) }