internal/

directory
v0.2.18 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package animclock is the animation scheduler the application loop drives: launched pieces, the frame deadlines the loop wakes on, and the tick that advances them.
Package animclock is the animation scheduler the application loop drives: launched pieces, the frame deadlines the loop wakes on, and the tick that advances them.
Package assetfile opens the files assets load from: icons, images, stylesheets and fonts.
Package assetfile opens the files assets load from: icons, images, stylesheets and fonts.
Package atspi is the in-process AT-SPI bridge (#65): it serves the widget tree's accessibility semantics (widget.Describe and the semantic roles, the plain-Go model of widget/a11y.go) over D-Bus in the AT-SPI2 shape, so screen readers and tools like accerciser can walk a lys-ui application.
Package atspi is the in-process AT-SPI bridge (#65): it serves the widget tree's accessibility semantics (widget.Describe and the semantic roles, the plain-Go model of widget/a11y.go) over D-Bus in the AT-SPI2 shape, so screen readers and tools like accerciser can walk a lys-ui application.
proto
Package proto holds the AT-SPI names both sides of the protocol agree on: the bridge that serves an application and the assistive technology side the tests play (atspitest).
Package proto holds the AT-SPI names both sides of the protocol agree on: the bridge that serves an application and the assistive technology side the tests play (atspitest).
Package blursync keeps a surface's compositor blur in step with what its widget tree asks for: the blur region on the wire when the compositor offers blur, css.BlurUnavailable on the root when it does not.
Package blursync keeps a surface's compositor blur in step with what its widget tree asks for: the blur region on the wire when the compositor offers blur, css.BlurUnavailable on the root when it does not.
Arena: one wl_shm pool per session.
Arena: one wl_shm pool per session.
Package clipboard implements text copy and paste over the core wl_data_device protocol and, when the compositor offers it, the zwp_primary_selection_unstable_v1 protocol: the offer pipeline for reading a selection, and data sources for claiming either.
Package clipboard implements text copy and paste over the core wl_data_device protocol and, when the compositor offers it, the zwp_primary_selection_unstable_v1 protocol: the offer pipeline for reading a selection, and data sources for claiming either.
cmd
uigen command
Command uigen writes package ui's generated builders: go generate in ui runs it.
Command uigen writes package ui's generated builders: go generate in ui runs it.
Package compose turns keysym sequences into text: pressing ' then e on a us-intl/deadkeys layout commits "é".
Package compose turns keysym sequences into text: pressing ' then e on a us-intl/deadkeys layout commits "é".
Package datacontrol is the clipboard-manager side of the seat's selections, over ext_data_control_v1 or, on compositors that predate it, zwlr_data_control_unstable_v1.
Package datacontrol is the clipboard-manager side of the seat's selections, over ext_data_control_v1 or, on compositors that predate it, zwlr_data_control_unstable_v1.
Package dragdrop implements drag and drop over the wl_data_device protocol: the source side (data source + start_drag with an icon), the destination side (offer bookkeeping, accept/reject, payload transfer), and the routing of enter/motion/leave/drop to the target registered for the surface under the drag.
Package dragdrop implements drag and drop over the wl_data_device protocol: the source side (data source + start_drag with an icon), the destination side (offer bookkeeping, accept/reject, payload transfer), and the routing of enter/motion/leave/drop to the target registered for the surface under the drag.
Package emoji is lys-ui's emoji chooser data (#92): a curated table of common Unicode emoji grouped by category with search keywords, parsed once from a compact literal.
Package emoji is lys-ui's emoji chooser data (#92): a curated table of common Unicode emoji grouped by category with search keywords, parsed once from a compact literal.
Compositor drivers for the harness: the suite itself is compositor-agnostic; the pieces that differ - how to close a client window through the compositor's own control channel, where the boot recipe records the pid, what it named the config and log - live behind this interface.
Compositor drivers for the harness: the suite itself is compositor-agnostic; the pieces that differ - how to close a client window through the compositor's own control channel, where the boot recipe records the pid, what it named the config and log - live behind this interface.
inproc
Package inproc runs lys-ui applications inside a test process against the headless compositor and inspects the output through screencopy: the in-process half of the compositor-in-the-loop suite, for tests that drive the app API directly instead of a demo client.
Package inproc runs lys-ui applications inside a test process against the headless compositor and inspects the output through screencopy: the in-process half of the compositor-in-the-loop suite, for tests that drive the app API directly instead of a demo client.
Icon-theme following (#64): the cache applies live icon-theme switches delivered by the portal monitor (portalsettings), which the application wires in.
Icon-theme following (#64): the cache applies live icon-theme switches delivered by the portal monitor (portalsettings), which the application wires in.
Package imgcache caches decoded raster images and the resampled rasters widget.Image paints from, under one shared LRU budget.
Package imgcache caches decoded raster images and the resampled rasters widget.Image paints from, under one shared LRU budget.
The doctor diagnostics block: one line block a bug report carries verbatim ("here is my lys-ui doctor output"), covering the session's bound globals and their versions, outputs and scales, the resolved cursor theme, the fonts sysfont selected, and the shm buffer format.
The doctor diagnostics block: one line block a bug report carries verbatim ("here is my lys-ui doctor output"), covering the session's bound globals and their versions, outputs and scales, the resolved cursor theme, the fonts sysfont selected, and the shm buffer format.
Package layersurface maps the wlr-layer-shell role onto a wl_surface: anchor, layer, keyboard mode, the configure handshake, and the closed signal.
Package layersurface maps the wlr-layer-shell role onto a wl_surface: anchor, layer, keyboard mode, the configure handshake, and the closed signal.
Package logutil holds lys-ui's single injectable logger.
Package logutil holds lys-ui's single injectable logger.
Package mailbox is the coalesced-wake queue every loop messenger shares: items appended from any goroutine, drained in order on the loop by one closure the first append schedules.
Package mailbox is the coalesced-wake queue every loop messenger shares: items appended from any goroutine, drained in order on the loop by one closure the first append schedules.
Package notify sends desktop notifications: the xdg-desktop-portal Notification interface when a portal owns the desktop, org.freedesktop.Notifications (the GNOME spec every daemon implements) as the fallback, and nothing at all without a session bus - the appearance.md failure model, inert and logged at Debug.
Package notify sends desktop notifications: the xdg-desktop-portal Notification interface when a portal owns the desktop, org.freedesktop.Notifications (the GNOME spec every daemon implements) as the fallback, and nothing at all without a session bus - the appearance.md failure model, inert and logged at Debug.
The enter/exit visual half of a popup: a widget.Morph the coordinator drives.
The enter/exit visual half of a popup: a widget.Morph the coordinator drives.
Package recentfiles tracks recently used files in the XDG recently-used.xbel format (TOML-free, XML as the spec says), so lys-ui apps share the recents list with the desktop's other citizens.
Package recentfiles tracks recently used files in the XDG recently-used.xbel format (TOML-free, XML as the spec says), so lys-ui apps share the recents list with the desktop's other citizens.
Package repaint keeps one surface's repaint bookkeeping between frames: the logical rects its widget tree owes, and, at paint time, the device rects a buffer from the surface's rotating pool must repaint, the buffer's own staleness included.
Package repaint keeps one surface's repaint bookkeeping between frames: the logical rects its widget tree owes, and, at paint time, the device rects a buffer from the surface's rotating pool must repaint, the buffer's own staleness included.
Package scale owns one surface's buffer scaling: the integer wl_surface fallback, the optional wp_viewporter and wp_fractional_scale_v1 objects, and the output transform.
Package scale owns one surface's buffer scaling: the integer wl_surface fallback, the optional wp_viewporter and wp_fractional_scale_v1 objects, and the output transform.
Package sessionlock maps ext-session-lock-v1 onto lys-ui: the lock object's locked/finished lifecycle and the per-output lock surface role with its configure handshake.
Package sessionlock maps ext-session-lock-v1 onto lys-ui: the lock object's locked/finished lifecycle and the per-output lock surface role with its configure handshake.
Package style is lys-ui's CSS engine: a tokenizer and parser for the GTK-flavored subset docs/css.md scopes, the rule index, and the matcher/cascader that computes one widget's style — custom properties with var() substitution, calc(), color-mix(), and per-longhand cascade across prioritized stylesheets and per-widget inline declarations.
Package style is lys-ui's CSS engine: a tokenizer and parser for the GTK-flavored subset docs/css.md scopes, the rule index, and the matcher/cascader that computes one widget's style — custom properties with var() substitution, calc(), color-mix(), and per-longhand cascade across prioritized stylesheets and per-widget inline declarations.
Package surfx is the surface-animation coordinator: one state machine every transient surface (menus, tooltips, toasts, dropdown lists, dialogs, layer overlays) drives its enter and exit tweens through, instead of one ad-hoc implementation per surface kind.
Package surfx is the surface-animation coordinator: one state machine every transient surface (menus, tooltips, toasts, dropdown lists, dialogs, layer overlays) drives its enter and exit tweens through, instead of one ad-hoc implementation per surface kind.
Package sysfont resolves system fonts through fontscan's CSS font selection rules, replacing per-app guesswork.
Package sysfont resolves system fonts through fontscan's CSS font selection rules, replacing per-app guesswork.
Package testbuild reports how the test binary was built.
Package testbuild reports how the test binary was built.
Package touchinput is the session-to-widget bridge for the non-pointer devices every input surface embeds (app windows, popups): it implements wlsession.SurfaceTouchHandler, SurfaceGestureHandler and SurfaceTabletHandler over a widget.TouchTracker, the router's gestures, and its stylus samples.
Package touchinput is the session-to-widget bridge for the non-pointer devices every input surface embeds (app windows, popups): it implements wlsession.SurfaceTouchHandler, SurfaceGestureHandler and SurfaceTabletHandler over a widget.TouchTracker, the router's gestures, and its stylus samples.
Package uifont embeds the faces lys-ui's default look is drawn in: Geist and Geist Mono, as variable fonts so every weight is one file.
Package uifont embeds the faces lys-ui's default look is drawn in: Geist and Geist Mono, as variable fonts so every weight is one file.
Package uigen generates package ui's typed builders from package widget's source: one builder per widget type, a constructor per New* function, a chainable method per setter, adder, binder and exported field, and the props every widget shares through its embedded node.
Package uigen generates package ui's typed builders from package widget's source: one builder per widget type, a constructor per New* function, a chainable method per setter, adder, binder and exported field, and the props every widget shares through its embedded node.
Package window maps the xdg-shell role onto a wl_surface: real toplevel windows with titles, the configure handshake, the compositor-confirmed state set, ping/pong liveness, and the close signal.
Package window maps the xdg-shell role onto a wl_surface: real toplevel windows with titles, the configure handshake, the compositor-confirmed state set, ping/pong liveness, and the close signal.
XDG activation: optional xdg_activation_v1 support — the compositor-consented focus request.
XDG activation: optional xdg_activation_v1 support — the compositor-consented focus request.
Package worker runs blocking work off the loop goroutine: one goroutine at a time, in posting order, over a bounded queue.
Package worker runs blocking work off the loop goroutine: one goroutine at a time, in posting order, over a bounded queue.
Package xfer moves selection and drag-and-drop payloads through the pipes Wayland hands the two ends of a transfer.
Package xfer moves selection and drag-and-drop payloads through the pipes Wayland hands the two ends of a transfer.

Jump to

Keyboard shortcuts

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