Paste number 59519: display group name on group change

Paste number 59519: display group name on group change
Pasted by: z0d
When:1 year, 2 months ago
Share:Tweet this! | http://paste.lisp.org/+19XB
Channel:#stumpwm
Paste contents:
Raw Source | XML | Display As
(defun echo-group-name (current last)
  (declare (ignore last))
  (let ((*timeout-wait* 1))
    (echo (group-name current))))

(add-hook *focus-group-hook* 'echo-group-name)

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.