chickadee » awful » set-page-title!

set-page-title! titleprocedure

Set the title for the requested page. This procedure is useful to set the page title dynamically from the page handler (instead of statically, via define-page's title keyword parameter).

This procedure has been introduced in awful 0.35.

Example:

(use awful)

(define-page (main-page-path)
  (lambda ()
    (set-page-title! "a title")
    "Hi!"))