yambar-modules-clock - Man Page

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}"}

See Also

yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decorations(5)

Referenced By

yambar-modules(5).

2022-08-26