internal/

directory
v0.3.3 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package appicons is the application icon table shared across bar components (wayle-shell-core's bar/icons.rs).
Package appicons is the application icon table shared across bar components (wayle-shell-core's bar/icons.rs).
Package apptest runs a lys-ui application on a private headless sway for a test, and waits on what it does.
Package apptest runs a lys-ui application on a private headless sway for a test, and waits on what it does.
Package cli is lys-shell's declarative command tree: a port of the clap subset the Rust CLI (lys-shell/src/cli) uses, so the Go binary keeps its help text, flags, error messages, exit codes, and shell completions byte-for-byte.
Package cli is lys-shell's declarative command tree: a port of the clap subset the Rust CLI (lys-shell/src/cli) uses, so the Go binary keeps its help text, flags, error messages, exit codes, and shell completions byte-for-byte.
Package clockwatch reports when the wall clock jumps against the monotonic clock, which a resume from suspend or hibernation and a step of the clock both do.
Package clockwatch reports when the wall clock jumps against the monotonic clock, which a resume from suspend or hibernation and a step of the clock both do.
Package configdocs renders the config reference pages (`lys-shell config docs`, lys-shell/src/docs): one VitePress page per documented schema, the shared types page, and the index, from config.DocSections.
Package configdocs renders the config reference pages (`lys-shell config docs`, lys-shell/src/docs): one VitePress page per documented schema, the shared types page, and the index, from config.DocSections.
Package dbuscli turns D-Bus call failures into the CLI's user-facing messages (lys-shell/src/cli/dbus.rs's format_error).
Package dbuscli turns D-Bus call failures into the CLI's user-facing messages (lys-shell/src/cli/dbus.rs's format_error).
Package desktopentry is gio's desktop-entry layer: the key-file parser, the XDG application list with gio's load and visibility rules, Exec expansion, and launching.
Package desktopentry is gio's desktop-entry layer: the key-file parser, the XDG application list with gio's load and visibility rules, Exec expansion, and launching.
Package desktopnotify sends freedesktop notifications over the session bus, the Go counterpart of crates/wayle-shell-core's notify.rs: D-Bus directly rather than notify-send, whose absence from PATH would silently drop every notification.
Package desktopnotify sends freedesktop notifications over the session bus, the Go counterpart of crates/wayle-shell-core's notify.rs: D-Bus directly rather than notify-send, whose absence from PATH would silently drop every notification.
Package fakeclock is a clock tests advance by hand: Now stands still and AfterFunc callbacks run only inside Advance, in due order, so a countdown's expiry is an assertion rather than a race against the scheduler.
Package fakeclock is a clock tests advance by hand: Now stands still and AfterFunc callbacks run only inside Advance, in due order, so a countdown's expiry is an assertion rather than a race against the scheduler.
Package feed is the in-process change fan-out the services share: every subscriber gets its own buffered channel, publishing never blocks on a slow or departed reader (a full buffer drops the value; tick feeds coalesce), and unsubscribing closes the channel so the reader's range loop ends.
Package feed is the in-process change fan-out the services share: every subscriber gets its own buffered channel, publishing never blocks on a slow or departed reader (a full buffer drops the value; tick feeds coalesce), and unsubscribing closes the channel so the reader's range loop ends.
Package fileuri is the percent-encoding and file:// URI handling lys-shell's portal, clipboard and VPN code share.
Package fileuri is the percent-encoding and file:// URI handling lys-shell's portal, clipboard and VPN code share.
Package fswatch turns inotify events into coalesced change ticks, the Go counterpart of the `notify` crate watchers the Rust services use (the mail service's recursive maildir watch, the brightness sysfs watch).
Package fswatch turns inotify events into coalesced change ticks, the Go counterpart of the `notify` crate watchers the Rust services use (the mail service's recursive maildir watch, the brightness sysfs watch).
Package glob is the blocklist matcher: case-insensitive `*` wildcards, shared by the notification blocklist and the systray blacklist (wayle-core's glob.rs).
Package glob is the blocklist matcher: case-insensitive `*` wildcards, shared by the notification blocklist and the systray blacklist (wayle-core's glob.rs).
Package gpuhost finds the host GPU the shell's GPU tests run on, under lys-lib's gputest convention: with LYS_TEST_GPU set (a check run on purpose, such as `just recorder-check`), a missing GPU fails the test; unset, the test skips where there is none (CI).
Package gpuhost finds the host GPU the shell's GPU tests run on, under lys-lib's gputest convention: with LYS_TEST_GPU set (a check run on purpose, such as `just recorder-check`), a missing GPU fails the test; unset, the test skips where there is none (CI).
Package gvariant reads GVariant's serialized form (little-endian) for the container and basic types a GTK data blob uses: u, y, b, s, arrays, and tuples.
Package gvariant reads GVariant's serialized form (little-endian) for the container and basic types a GTK data blob uses: u, y, b, s, arrays, and tuples.
Package handoff carries what work off the loop makes onto the loop, and accounts for what the loop never takes: once the loop has ended an Invoke is dropped, so a result still in flight at shutdown would otherwise be lost with whatever it holds (an off-heap raster).
Package handoff carries what work off the loop makes onto the loop, and accounts for what the loop never takes: once the loop has ended an Invoke is dropped, so a result still in flight at shutdown would otherwise be lost with whatever it holds (an off-heap raster).
Package icons ports crates/wayle-icons: the icon sources (Tabler, Simple Icons, Material, Lucide), fetching from their CDNs, the SVG to GTK-symbolic transform, local imports, the on-disk icon directory, format migration, and the config-driven sync behind `lys-shell icons`.
Package icons ports crates/wayle-icons: the icon sources (Tabler, Simple Icons, Material, Lucide), fetching from their CDNs, the SVG to GTK-symbolic transform, local imports, the on-disk icon directory, format migration, and the config-driven sync behind `lys-shell icons`.
icontest
Package icontest serves icon CDNs without the network, for tests of what installs icons.
Package icontest serves icon CDNs without the network, for tests of what installs icons.
skpath
Package skpath is a port of the parts of tiny-skia-path 0.11 (Skia's SkPath, SkStroke and SkDashPath) the icon transform needs: path building, affine transforms, stroking into fill outlines, and dashing.
Package skpath is a port of the parts of tiny-skia-path 0.11 (Skia's SkPath, SkStroke and SkDashPath) the icon transform needs: path building, affine transforms, stroking into fill outlines, and dashing.
usvg
Package usvg is a port of the subset of usvg 0.46 (with svgtypes, simplecss and kurbo's arc code) that turns an SVG document into the tree of groups and paths the icon transform walks: element and attribute resolution (presentation attributes, CSS, style, inherit), use/switch/nested svg expansion, markers, shapes to paths, and fill/stroke resolution.
Package usvg is a port of the subset of usvg 0.46 (with svgtypes, simplecss and kurbo's arc code) that turns an SVG document into the tree of groups and paths the icon transform walks: element and attribute resolution (presentation attributes, CSS, style, inherit), use/switch/nested svg expansion, markers, shapes to paths, and fill/stroke resolution.
Package ipcsock bounds a request on a local unix socket, so a hung peer costs its client an error instead of the client's thread.
Package ipcsock bounds a request on a local unix socket, so a hung peer costs its client an error instead of the client's thread.
ipcsocktest
Package ipcsocktest fakes a hung compositor on a unix socket.
Package ipcsocktest fakes a hung compositor on a unix socket.
Package ipp is the slice of the Internet Printing Protocol (RFC 8010 and 8011) the print dialog needs from CUPS: list the printers (CUPS-Get-Printers) and send a job (Print-Job), over the CUPS domain socket or CUPS_SERVER.
Package ipp is the slice of the Internet Printing Protocol (RFC 8010 and 8011) the print dialog needs from CUPS: list the printers (CUPS-Get-Printers) and send a job (Print-Job), over the CUPS domain socket or CUPS_SERVER.
Package jinja renders minijinja templates: the format-string engine behind every bar module's format key (wayle-shell-core's template.rs, minijinja 2 with its builtins and default settings).
Package jinja renders minijinja templates: the format-string engine behind every bar module's format key (wayle-shell-core's template.rs, minijinja 2 with its builtins and default settings).
Package keytest drives the shell's surfaces on a private headless sway from a virtual keyboard whose keymap, like wtype's or a remote-desktop peer's, carries its keys on codes of its own: each one on the code a physical keyboard gives a different key.
Package keytest drives the shell's surfaces on a private headless sway from a virtual keyboard whose keymap, like wtype's or a remote-desktop peer's, carries its keys on codes of its own: each one on the code a physical keyboard gives a different key.
Package launcheripc is the launcher socket (wayle-ipc launcher_socket.rs): the protocol between `lys-shell launcher` (the rofi shim) and the launcher surface in the shell, with both halves - the CLI's client and the shell's server.
Package launcheripc is the launcher socket (wayle-ipc launcher_socket.rs): the protocol between `lys-shell launcher` (the rofi shim) and the launcher surface in the shell, with both halves - the CLI's client and the shell's server.
Package lockcli is the lock command both `lys-shell lock` and the single-token lys-lock run: one declaration, so the two cannot drift.
Package lockcli is the lock command both `lys-shell lock` and the single-token lys-lock run: one declaration, so the two cannot drift.
Package mime guesses a file's mimetype from its name through the system's shared-mime-info database, and names the generic icon for it: what gio's g_content_type_guess (with no data) and g_content_type_get_generic_icon_name answer, in pure Go.
Package mime guesses a file's mimetype from its name through the system's shared-mime-info database, and names the generic icon for it: what gio's g_content_type_guess (with no data) and g_content_type_get_generic_icon_name answer, in pure Go.
Package notifytest holds the notification history helpers the shell's tests share: a store on a temporary file, and the history, the store and the popup list read back as pages and id sets.
Package notifytest holds the notification history helpers the shell's tests share: a store on a temporary file, and the history, the store and the popup list read back as pages and id sets.
Package pango reads Pango markup - what rofi rows, drun's display format, and script messages are written in - and translates it into lys-ui's rich-label subset.
Package pango reads Pango markup - what rofi rows, drun's display format, and script messages are written in - and translates it into lys-ui's rich-label subset.
Package portal is the xdg-desktop-portal client side lys-shell needs: the Request/Response handshake and the FileChooser.
Package portal is the xdg-desktop-portal client side lys-shell needs: the Request/Response handshake and the FileChooser.
Package runtimesock places lys-shell's sockets in its runtime directory, $XDG_RUNTIME_DIR/lys-shell.
Package runtimesock places lys-shell's sockets in its runtime directory, $XDG_RUNTIME_DIR/lys-shell.
Package rusterr renders Go errors the way the Rust code's Display impls print the equivalent errors, for messages that must read the same from both binaries.
Package rusterr renders Go errors the way the Rust code's Display impls print the equivalent errors, for messages that must read the same from both binaries.
Package rustparse parses numbers with Rust's str::parse grammar and error messages, so values the Rust CLI accepts or rejects behave the same in Go (strconv takes underscores, hex floats, and other forms Rust refuses, and words its errors differently).
Package rustparse parses numbers with Rust's str::parse grammar and error messages, so values the Rust CLI accepts or rejects behave the same in Go (strconv takes underscores, hex floats, and other forms Rust refuses, and words its errors differently).
Package spawn runs the shell commands the config names (click actions, power commands): process.rs's run_if_set and spawn_quiet.
Package spawn runs the shell commands the config names (click actions, power commands): process.rs's run_if_set and spawn_quiet.
tools
distcheck command
Command distcheck fails when a distribution binary would not start on a standard Linux system: every ELF file it is given must request a program interpreter at a standard (FHS) path, or none.
Command distcheck fails when a distribution binary would not start on a standard Linux system: every ELF file it is given must request a program interpreter at a standard (FHS) path, or none.
emojigen command
Command emojigen extracts GTK's emoji tables for the launcher's emoji mode.
Command emojigen extracts GTK's emoji tables for the launcher's emoji mode.
releasenotes command
Command releasenotes prints a release's notes in Markdown: the commits since the previous release tag (all history for the first release), grouped by the area their subject names ("bar: …").
Command releasenotes prints a release's notes in Markdown: the commits since the previous release tag (all history for the first release), grouped by the area their subject names ("bar: …").
vmclick command
Command vmclick clicks the left button at a point of the output layout through the compositor's virtual pointer, for the VM checks: QEMU's own pointer does not reach a Wayland seat, a zwlr_virtual_pointer does.
Command vmclick clicks the left button at a point of the output layout through the compositor's virtual pointer, for the VM checks: QEMU's own pointer does not reach a Wayland seat, a zwlr_virtual_pointer does.
Package toplevels follows the compositor's windows over zwlr_foreign_toplevel_management_v1 on a private Wayland connection: each window's app id and whether it is the activated one.
Package toplevels follows the compositor's windows over zwlr_foreign_toplevel_management_v1 on a private Wayland connection: each window's app id and whether it is the activated one.
Package version is lys-shell's identity: the name its per-user directories are kept under, and the release version `lys-shell --version` and the notification server report and nix/lys-shell.nix reads for the package version.
Package version is lys-shell's identity: the name its per-user directories are kept under, and the release version `lys-shell --version` and the notification server report and nix/lys-shell.nix reads for the package version.
Package walltimer fires on wall-clock boundaries: the first instant of each minute or second as the date reads it, on time across suspend and when the clock is set, without waking in between.
Package walltimer fires on wall-clock boundaries: the first instant of each minute or second as the date reads it, on time across suspend and when the clock is set, without waking in between.
Package widgetipc is the widget socket: the shell's JSON-RPC listener for out-of-process pushes (`lys-shell toast`, `lys-shell widget update`) and the client half those CLIs drive.
Package widgetipc is the widget socket: the shell's JSON-RPC listener for out-of-process pushes (`lys-shell toast`, `lys-shell widget update`) and the client half those CLIs drive.

Jump to

Keyboard shortcuts

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