| CARBONIAN-WIDGET(7) | Carbonian Manual | CARBONIAN-WIDGET(7) |
carbonian-widget - Carbonian's widget programs and quick settings panel: an overview
carbonian-widget-about [--once]
carbonian-widget-calendar [--once]
carbonian-widget-glance [--once]
carbonian-widget-nowplaying [--once]
carbonian-widget-todo [--once]
carbonian-widget-weather [--once]
carbonian-quick-settings [--once]
The package carbonian-widget holds the programs that run in the panes of the widgets screen (carbonian-widgets(1), laid out by widgets.conf(5)) and the quick settings panel (carbonian-quick(1)). Each is a small binary of its own, not one multi-call binary: each is updated, named in ps(1) and pgrep(1), and fails on its own. They share one library.
Each draws in its terminal pane with the terminal's 16 ANSI colours, so the palette (carbonian-palette(1)) decides them. A frame is written line by line, only the lines that changed, in one synchronized update; a change of the pane's size (SIGWINCH) draws it whole again.
While their panel is hidden they sleep with no timer: they keep the compositor's watch connection open (carbonian-ctl(1)) and wake when the panel is shown again. With a shell older than watch they ask its state once a second while hidden; with no answer at all the panel counts as shown. The widgets watch the panel widgets, the quick settings the panel quick.
The paths /usr/lib/carbonian/widget-about, widget-calendar, widget-glance, widget-nowplaying, widget-todo, widget-weather and /usr/lib/carbonian/quick-settings are shell scripts that start these programs, kept for the widgets.conf files that name them.
A widget is a line of widgets.conf(5): its pane's name, its share of the column, and the command, for example
calendar 34% /usr/bin/carbonian-widget-calendar
carbonian-widgets(1) starts it in its pane and starts it again if it exits. A widget exits when its pane is gone.
Each program sets its name (PR_SET_NAME, which the kernel cuts to 15 bytes) to its own name without carbonian-: widget-about, widget-calendar, widget-glance, widget-nowplaying, widget-todo, widget-weather, quick-settings. This is the name ps(1), top(1) and pgrep -x show; the full name would be cut to the same 15 bytes for every widget.
Each program takes the same options:
Any other argument is an error: the usage is printed and the exit status is 2.
carbonian-widget-about(1), carbonian-widget-calendar(1), carbonian-widget-glance(1), carbonian-widget-nowplaying(1), carbonian-widget-todo(1), carbonian-widget-weather(1), carbonian-quick-settings(1), widgets.conf(5), carbonian-widgets(1), carbonian-quick(1), carbonian-clock(1), carbonian-ctl(1), carbonian(7)
| 2026-11-03 | Carbonian |