Timers (StumpWM Manual)

### 14.6 Timers ¶

StumpWM has a timer system similar to that of Emacs.

Function: idle-time screen ¶

  Returns the time in seconds since idle according to the root window of the ‘screen’.

Function: run-with-timer secs repeat function &rest args ¶

  Perform an action after a delay of SECS seconds. Repeat the action every REPEAT seconds, if repeat is non-nil. SECS and REPEAT may be reals. The action is to call FUNCTION with arguments ARGS.

Function: cancel-timer timer ¶

  Remove TIMER from the list of active timers.

Function: timer-p timer ¶

  Return T if TIMER is a timer structure.