yambar-modules-clock(5)

yambar-modules-clock5

This module provides the current date and time

Tags

NameTypeDescription
timestringCurrent time, formatted using the time-format attribute
datestringCurrent date, formatted using the date-format attribute

Configuration

NameTypeReqDescription
time-formatstringnostrftime formatter for the time tag (default=%H:%M)
date-formatstringnostrftime formatter for the date date (default=%x)
utcboolnoUse GMT instead of local timezone (default=false)

Examples

bar:
  left:
    - clock:
        time-format: "%H:%M %Z"
        content:
          string: {text: "{date} {time}"}

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From yambar 1.11.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.