| CARBONIAN-CLOCK(1) | Carbonian Manual | CARBONIAN-CLOCK(1) |
carbonian-clock - a big-digit clock for a terminal pane
carbonian-clock [--once] [--panel NAME] [--format 24h|12h] [--seconds yes|no] [--date yes|no] [--date-format FORMAT] [--size auto|large|small|text] [--color COLOUR]
The "time" widget of the widgets panel (widgets.conf(5)): the time in large digits drawn with block characters, centred in the terminal and as large as it fits, with the date under it, in the locale's words, when there is room. The digits are in one of the terminal's 16 colours (the palette's accent, ANSI magenta, by default), so a carbonian-palette set recolours them without a redraw. A change of the terminal's size (SIGWINCH) draws them again at the new size. Keys typed into its pane are read and dropped.
It writes to the terminal only when the text it shows changes: one timer on the wall clock wakes it at the next minute (or second, with seconds on), so a suspend or a change of the clock cannot leave it late. With --panel NAME it keeps the compositor's watch connection open (carbonian-ctl(1)): while that panel is hidden the timer is off and nothing wakes it, and the moment the panel opens it draws the time and reads its settings again. Without the compositor's socket, or with a shell older than watch, it keeps its timer alone. A change of /etc/localtime is seen when the panel opens.
/etc/carbonian/clock.conf
~/.config/carbonian/clock.conf
time 20% /usr/bin/carbonian-clock --panel widgets carbonian-clock --once --seconds yes
clock.conf(5), widgets.conf(5), carbonian-ctl(1), carbonian(7)
| October 2026 | Carbonian |