awesome-wm-widgets/text-clock-widget
streetturtle 5e00300944 [text-clock] update readme 2020-11-25 09:33:35 -05:00
..
screenshots [text-clock] update readme 2020-11-25 09:33:35 -05:00
README.md [text-clock] update readme 2020-11-25 09:33:35 -05:00
text-clock.lua [text-clock] update readme 2020-11-25 09:33:35 -05:00

README.md

Text clock widget

Widget displaying current time using words:

screenshot

Customization

It is possible to customize widget by providing a table with all or some of the following config parameters:

Name Default Description
main_color beautiful.fg_normal Color of the word on odd position
accent_color beautiful.fg_urgent Color of the word on even position
font beautiful.font Font (Play 20)
is_human_readable false nine fifteen or fifteen past nine
military_time false 12 or 24 time format
with_spaces false Separate words with spaces

Screenshots

 text_clock{
    font = 'Carter One 12',
    accent_color = '#ff79c6',
    main_color = '#8be9fd',
    is_human_readable = true,
}

text_clock{
    font = 'Carter One 12',
    is_human_readable = true,
}

text_clock{
    font = 'Carter One 12',
    is_human_readable = true,
    military_time = true
}