logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

clock - This module provides the current date and time

Configuration

┌─────────────┬────────┬─────┬──────────────────────────────────────────────────────────────────────────┐ │ NameTypeReqDescription │ ├─────────────┼────────┼─────┼──────────────────────────────────────────────────────────────────────────┤ │ time-format │ string │ no │ strftime formatter for the time tag (default=%H:%M) │ ├─────────────┼────────┼─────┼──────────────────────────────────────────────────────────────────────────┤ │ date-format │ string │ no │ strftime formatter for the date date (default=%x) │ ├─────────────┼────────┼─────┼──────────────────────────────────────────────────────────────────────────┤ │ utc │ bool │ no │ Use GMT instead of local timezone (default=false) │ └─────────────┴────────┴─────┴──────────────────────────────────────────────────────────────────────────┘

Examples

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

Name

clock - This module provides the current date and time

See Also

yambar-modules(5), yambar-particles(5), yambar-tags(5), yambar-decorations(5) 2024-04-20 yambar-modules-clock(5)

Tags

┌──────┬────────┬───────────────────────────────────────────────────────────────────────────────────────┐ │ NameTypeDescription │ ├──────┼────────┼───────────────────────────────────────────────────────────────────────────────────────┤ │ time │ string │ Current time, formatted using the time-format attribute │ ├──────┼────────┼───────────────────────────────────────────────────────────────────────────────────────┤ │ date │ string │ Current date, formatted using the date-format attribute │ └──────┴────────┴───────────────────────────────────────────────────────────────────────────────────────┘

See Also