Skip to content

Demos ​

Each demo is a command under cmd/. Run one from the dev shell with go run ./cmd/<name>.

CommandWhat it shows
cmd/lys-ui-hellothe showcase as a component: core widgets, a context menu on typed actions, tooltips, Tab focus, drag-to-move
cmd/lys-ui-galleryevery component in one window, both palettes; -shots screenshots each for this site
cmd/lys-ui-glassthe theme's glass surfaces over a moving backdrop, and a window asking the compositor to blur the desktop behind it
cmd/lys-ui-bara layer-shell top bar repainting only what changed each second
cmd/lys-ui-panela right-anchored layer-shell panel with live widgets
cmd/lys-ui-launchera launcher: a keyboard-exclusive overlay, a filtered app grid, live toplevel thumbnails through capture
cmd/lys-ui-osdan OSD: a transient layer-shell volume or brightness popup over the overlay layer
cmd/lys-ui-locka lock screen: one ext-session-lock surface per output with an auth entry
cmd/lys-ui-multione loop: per-output layer bars, on-demand windows, close-request veto
cmd/lys-ui-invokea spawned command and Every feeding a component
cmd/lys-ui-messagesthe typed messaging layer and single-instance forwarding
cmd/lys-ui-settingsa settings app: PreferencesView rows, the adaptive shell, typed persisted settings
cmd/lys-ui-columnsten thousand sorted, filtered rows; the tree view; drag-to-reorder
cmd/lys-ui-dialogsevery dialog constructor: message, prompt, color, font, calendar, file, adaptive, about
cmd/lys-ui-dndcross-window drag-and-drop: swatches that drag and drop between two toplevels
cmd/lys-ui-drawcustom painting: a DrawingArea animating straight onto the Canvas
cmd/lys-ui-imeIME composition: preedit and commit mirrored from an entry and a text area
cmd/lys-ui-a11ya labeled form served over AT-SPI; builds with -tags atspi to force the bridge on
cmd/lys-ui-capturethe capture consumer: list outputs and toplevels, screenshot any of them to PNG, follow one output frame by frame
cmd/lys-ui-gpua GPUArea paced by its own frame callbacks, with lys-ui drawing over it
cmd/lys-ui-videoa video with its controls: a file through ffmpeg, or a generated clip decoded in pure Go
cmd/lys-ui-i18na gettext .po catalog (plurals included) localizing built-in and app strings
cmd/lys-ui-statesthe window-state client the headless suite drives: xdg state chords, mirrored from what the compositor confirms
cmd/lys-ui-multilistthe multi-select client the headless suite drives: a multiple-selection list with keyboard and rubber-band selection
cmd/lys-ui-popoverthe popover client the headless suite drives: popup grabs, live repaints, nested menus
cmd/wlpointer, cmd/zz-vpclicksynthetic input for the headless suite

Released under the MIT License.