cmd/

directory
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2026 License: MIT

Directories

Path Synopsis
Command lys-ui-a11y is the accessibility demo target: a small form whose every control carries a semantic role and label, served to screen readers through the in-process AT-SPI bridge.
Command lys-ui-a11y is the accessibility demo target: a small form whose every control carries a semantic role and label, served to screen readers through the in-process AT-SPI bridge.
Command lys-ui-bar is a layer-shell top bar component: a logo pill, the clock, and a seconds gauge, ticked once a second by Application.Every.
Command lys-ui-bar is a layer-shell top bar component: a logo pill, the clock, and a seconds gauge, ticked once a second by Application.Every.
Command lys-ui-capture is the capture package's consumer: it lists the compositor's outputs and toplevels, screenshots any of them to a PNG (whole outputs through wlr-screencopy or ext-image-copy-capture, single windows through the foreign toplevel capture), and follows one output continuously with the damage-driven Stream, writing a numbered PNG per changed frame.
Command lys-ui-capture is the capture package's consumer: it lists the compositor's outputs and toplevels, screenshots any of them to a PNG (whole outputs through wlr-screencopy or ext-image-copy-capture, single windows through the foreign toplevel capture), and follows one output continuously with the damage-driven Stream, writing a numbered PNG per changed frame.
Command lys-ui-columns is the tabular/tree view demo (#90): ten thousand rows sorted and filtered through the header and the search entry (both instant - the view is virtualized), a tree tab with the expander column and indent guides, and a drag-to-reorder tab.
Command lys-ui-columns is the tabular/tree view demo (#90): ten thousand rows sorted and filtered through the header and the search entry (both instant - the view is virtualized), a tree tab with the expander column and indent guides, and a drag-to-reorder tab.
Command lys-ui-dialogs is the dialogs showcase: one window of buttons opening every preset dialog constructor - MessageBox, PromptDialog, ColorChooserDialog, FontChooserDialog, CalendarDialog - plus the file dialogs, the adaptive dialog, and the about dialog, all parented to the window so modality and Escape behavior can be compared side by side.
Command lys-ui-dialogs is the dialogs showcase: one window of buttons opening every preset dialog constructor - MessageBox, PromptDialog, ColorChooserDialog, FontChooserDialog, CalendarDialog - plus the file dialogs, the adaptive dialog, and the about dialog, all parented to the window so modality and Escape behavior can be compared side by side.
Command lys-ui-dnd is the cross-window drag-and-drop demo: two toplevel windows, each holding color swatches that are both drag sources and drop targets.
Command lys-ui-dnd is the cross-window drag-and-drop demo: two toplevel windows, each holding color swatches that are both drag sources and drop targets.
Command lys-ui-draw is the custom-drawing demo, the relm4 drawing example's analog: a widget.DrawingArea whose OnDraw paints straight onto the Canvas - a polar rose sampled per point, a sweep hand, and axis lines - with QueueDraw on a timer animating it, damage tracking repainting only the area.
Command lys-ui-draw is the custom-drawing demo, the relm4 drawing example's analog: a widget.DrawingArea whose OnDraw paints straight onto the Canvas - a polar rose sampled per point, a sweep hand, and axis lines - with QueueDraw on a timer animating it, damage tracking repainting only the area.
Command lys-ui-gallery is the component gallery: every component lys-ui implements, one titled section each, declared with the typed ui builders in the dark and light palettes.
Command lys-ui-gallery is the component gallery: every component lys-ui implements, one titled section each, declared with the typed ui builders in the dark and light palettes.
Command lys-ui-glass shows the theme's glass surfaces over busy, moving content: a frosted sidebar, a clear-glass card and bottom bar and a liquid-glass pill over a striped backdrop whose bands keep sliding, so the backdrop blur re-samples every frame.
Command lys-ui-glass shows the theme's glass surfaces over busy, moving content: a frosted sidebar, a clear-glass card and bottom bar and a liquid-glass pill over a striped backdrop whose bands keep sliding, so the backdrop blur re-samples every frame.
Command lys-ui-gpu shows a GPUArea: the area's surface sits below the window and the application paces its own frames through OnFrame.
Command lys-ui-gpu shows a GPUArea: the area's surface sits below the window and the application paces its own frames through OnFrame.
Command lys-ui-hello is the showcase demo, built the way an app outside this module builds one: a component whose view is declared with the typed ui builders, hosted in one toplevel window.
Command lys-ui-hello is the showcase demo, built the way an app outside this module builds one: a component whose view is declared with the typed ui builders, hosted in one toplevel window.
Command lys-ui-i18n localizes one app with a real gettext catalog: the Norwegian .po embedded under locale/ is loaded through package i18n, and every string - lys-ui's built-in chrome (dialog buttons, the file picker's places) and the demo's own, a plural included - flows through widget.Tr and TrN. It starts in the environment's language when a catalog exists for it; the button toggles.
Command lys-ui-i18n localizes one app with a real gettext catalog: the Norwegian .po embedded under locale/ is loaded through package i18n, and every string - lys-ui's built-in chrome (dialog buttons, the file picker's places) and the demo's own, a plural included - flows through widget.Tr and TrN. It starts in the environment's language when a catalog exists for it; the button toggles.
Command lys-ui-ime is the IME composition demo: an entry and a text area driven by whatever input method the desktop runs, with a status line mirroring each field's composing state and contents - the preedit an IME shows at the caret, and the commit that lands when composition finishes.
Command lys-ui-ime is the IME composition demo: an entry and a text area driven by whatever input method the desktop runs, with a status line mirroring each field's composing state and contents - the preedit an IME shows at the caret, and the commit that lands when composition finishes.
Command lys-ui-invoke demonstrates the threading model.
Command lys-ui-invoke demonstrates the threading model.
Command lys-ui-launcher is the M5 launcher app: a keyboard-exclusive layer-shell overlay holding a search entry that filters a grid of apps, and live thumbnails of the compositor's open toplevels captured through the capture package on a private connection.
Command lys-ui-launcher is the M5 launcher app: a keyboard-exclusive layer-shell overlay holding a search entry that filters a grid of apps, and live thumbnails of the compositor's open toplevels captured through the capture package on a private connection.
Command lys-ui-lock is the M5 lock screen: one ext-session-lock-v1 surface per output with a centered auth entry, built through app.LockSession.
Command lys-ui-lock is the M5 lock screen: one ext-session-lock-v1 surface per output with a centered auth entry, built through app.LockSession.
Command lys-ui-messages demonstrates the typed messaging layer (app/message.go) and single-instance activation (app/instance.go): one SharedState counter shared across two windows - either window's buttons move both labels - and one Stream broker that any depth of code can reach without threading senders: both windows subscribe, a button publishes, every window toasts.
Command lys-ui-messages demonstrates the typed messaging layer (app/message.go) and single-instance activation (app/instance.go): one SharedState counter shared across two windows - either window's buttons move both labels - and one Stream broker that any depth of code can reach without threading senders: both windows subscribe, a button publishes, every window toasts.
Command lys-ui-multi exercises the application model: one process running a declarative layer-shell bar on every output plus toplevel windows created on demand, with a close-request veto.
Command lys-ui-multi exercises the application model: one process running a declarative layer-shell bar on every output plus toplevel windows created on demand, with a close-request veto.
Command lys-ui-multilist is the multi-select list client the headless input suite (internal/headlesstest) drives: one window holding a multiple-selection widget.List whose selection and activation land in the trace log, so synthetic keyboard and pointer gestures can be asserted end to end through the compositor.
Command lys-ui-multilist is the multi-select list client the headless input suite (internal/headlesstest) drives: one window holding a multiple-selection widget.List whose selection and activation land in the trace log, so synthetic keyboard and pointer gestures can be asserted end to end through the compositor.
Command lys-ui-osd is the M5 OSD app: a transient layer-shell popup anchored top-center over the overlay layer - the volume or brightness notification media keys produce.
Command lys-ui-osd is the M5 OSD app: a transient layer-shell popup anchored top-center over the overlay layer - the volume or brightness notification media keys produce.
Command lys-ui-panel is the layer-shell demo: a right-anchored panel component with a slider, progress bar, switch, checkbox, text entry, notes area and a scrollable list, live through the pointer and keyboard input stack.
Command lys-ui-panel is the layer-shell demo: a right-anchored panel component with a slider, progress bar, switch, checkbox, text entry, notes area and a scrollable list, live through the pointer and keyboard input stack.
Command lys-ui-popover is the popover client the headless input suite (internal/headlesstest) drives: one window whose button opens a popover holding a focused Entry and a label a timer keeps changing, so typing through the popup grab and loop-driven repaints of an open popover can be asserted end to end through the compositor.
Command lys-ui-popover is the popover client the headless input suite (internal/headlesstest) drives: one window whose button opens a popover holding a focused Entry and a label a timer keeps changing, so typing through the popup grab and loop-driven repaints of an open popover can be asserted end to end through the compositor.
Command lys-ui-settings is the M5 settings app: typed persisted keys (app/settings.go) behind PreferencesView rows - the adaptive shell of pages, view switcher, and built-in search - so every edit writes through to <config>/dev.stubbe.lys.ui.settings/settings.json and every restart comes back exactly where it left off.
Command lys-ui-settings is the M5 settings app: typed persisted keys (app/settings.go) behind PreferencesView rows - the adaptive shell of pages, view switcher, and built-in search - so every edit writes through to <config>/dev.stubbe.lys.ui.settings/settings.json and every restart comes back exactly where it left off.
Command lys-ui-states is the window-state client the headless state suite (internal/headlesstest) drives: one toplevel whose keyboard chords issue the xdg_toplevel state requests - m maximize, n unmaximize, f fullscreen, g unfullscreen, i minimize, p poll the reported state, Escape close - while a status label mirrors only what the compositor CONFIRMS.
Command lys-ui-states is the window-state client the headless state suite (internal/headlesstest) drives: one toplevel whose keyboard chords issue the xdg_toplevel state requests - m maximize, n unmaximize, f fullscreen, g unfullscreen, i minimize, p poll the reported state, Escape close - while a status label mirrors only what the compositor CONFIRMS.
Command lys-ui-video plays a video: a file through ffmpeg (picture and sound) when one is named, otherwise a generated YUV4MPEG2 clip of moving bars decoded in pure Go.
Command lys-ui-video plays a video: a file through ffmpeg (picture and sound) when one is named, otherwise a generated YUV4MPEG2 clip of moving bars decoded in pure Go.
Command wlpointer drives a zwlr_virtual_pointer_v1 device against a Wayland compositor: synthetic pointer input for interactive testing.
Command wlpointer drives a zwlr_virtual_pointer_v1 device against a Wayland compositor: synthetic pointer input for interactive testing.
The harness clicker: pointer clicks, wheel, keys, and text on $WAYLAND_DISPLAY through the headless suite's virtual pointer — the manual companion to internal/headlesstest's in-process driving, used to walk a live surface (the settings app on a nested sway) while its trace log runs.
The harness clicker: pointer clicks, wheel, keys, and text on $WAYLAND_DISPLAY through the headless suite's virtual pointer — the manual companion to internal/headlesstest's in-process driving, used to walk a live surface (the settings app on a nested sway) while its trace log runs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL