lys-shell

module
v0.3.13 Latest Latest
Warning

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

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

README

lys-shell

lys-shell

A complete Wayland desktop shell in pure Go: bar, notifications, OSD, launcher, wallpaper, and a desktop portal.

CI MIT license Documentation

lys-shell on a desktop

lys-shell runs on any compositor with wlr-layer-shell. It is built on lys-ui, and does not need lys-wm.

Install

Releases carry a .deb, a Fedora .rpm and a tarball, for x86_64 and aarch64. The flake ships the package, a NixOS module and a home-manager module; see the NixOS guide.

To build from source, with Go and just installed:

git clone https://github.com/stubbedev/lys-shell
cd lys-shell
just build
sudo install -Dm755 dist/lys-shell dist/lys-lock -t /usr/local/bin
lys-shell icons setup

Getting started lists the runtime dependencies for each distribution.

Usage

lys-shell panel start     # run the shell in the background
lys-shell panel settings  # open the settings GUI, https://github.com/stubbedev/lys-settings

lys-shell reads ~/.config/lys-shell/config.yaml and applies changes on save:

bar:
  layout:
    - monitor: "*"
      left: [dashboard, hyprland-workspaces]
      center: [clock]
      right: [volume, network, bluetooth, battery]

Documentation

The guides, the CLI and the config reference are at https://stubbedev.github.io/lys-shell/. For development, see CLAUDE.md.

The lys family

lys-wm (compositor), lys-ui (widget toolkit), lys-lib (building blocks), lys-login (display manager and lock screen), lys-splash (boot splash), lys-polkit (polkit agent) and lys-secrets (Secret Service).

Credits

lys-shell began as a fork of wayle-rs/wayle and is now an independent Go implementation that shares none of its code; its configuration format and much of its design come from there.

License

MIT

The passphrase generator embeds the words of the EFF large wordlist by the Electronic Frontier Foundation, under the Creative Commons Attribution 3.0 United States License; see eff_large_wordlist.NOTICE.

Directories

Path Synopsis
Package cava is the Go port of the audio spectrum analyzer behind lys-shell's cava bar module: crates/wayle-cava's vendored cavacore.c translated algorithm-for-algorithm.
Package cava is the Go port of the audio spectrum analyzer behind lys-shell's cava bar module: crates/wayle-cava's vendored cavacore.c translated algorithm-for-algorithm.
cmd
lys-lock command
Command lys-lock is a single-token `lys-shell lock` (lys-lock.rs): the same dispatch as its own executable, for contexts that exec one token without splitting on whitespace - a systemd ExecStart=, an idle daemon, a compositor spawn - so locking needs no wrapper script.
Command lys-lock is a single-token `lys-shell lock` (lys-lock.rs): the same dispatch as its own executable, for contexts that exec one token without splitting on whitespace - a systemd ExecStart=, an idle daemon, a compositor spawn - so locking needs no wrapper script.
lys-shell command
Command lys-shell is the Go rewrite's entry point: the lys-shell/src/main.rs CLI with the same clap tree (help, flags, errors, exit codes, shell completions), declared once in internal/cli form.
Command lys-shell is the Go rewrite's entry point: the lys-shell/src/main.rs CLI with the same clap tree (help, flags, errors, exit codes, shell completions), declared once in internal/cli form.
Package config loads lys-shell's user configuration: the same files the Rust shell reads, with the same discovery order, imports, key names, defaults, layering (defaults < config file < runtime overrides), and failure behavior.
Package config loads lys-shell's user configuration: the same files the Rust shell reads, with the same discovery order, imports, key names, defaults, layering (defaults < config file < runtime overrides), and failure behavior.
internal/schemadoc
Package schemadoc extracts the config schema descriptions from the config package's doc comments, the way schemars reads Rust doc comments: a type's description is its doc after the first paragraph (the Go sentence naming the type, which revive requires), a field's is its whole doc, and an enum variant's is its constant's doc.
Package schemadoc extracts the config schema descriptions from the config package's doc comments, the way schemars reads Rust doc comments: a type's description is its doc after the first paragraph (the Go sentence naming the type, which revive requires), a field's is its whole doc, and an enum variant's is its constant's doc.
internal/schemadoc/cmd command
Command schemadoc regenerates config/schemadoc_gen.go; run it through `go generate ./config`.
Command schemadoc regenerates config/schemadoc_gen.go; run it through `go generate ./config`.
Package i18n is lys-shell's Fluent localization: a port of the runtime the Rust crates get from i18n-embed 0.16 (FluentLanguageLoader), fluent-bundle 0.16, fluent-syntax 0.12, and fluent-langneg 0.13.
Package i18n is lys-shell's Fluent localization: a port of the runtime the Rust crates get from i18n-embed 0.16 (FluentLanguageLoader), fluent-bundle 0.16, fluent-syntax 0.12, and fluent-langneg 0.13.
locales/greeter
Package locales embeds the greeter's Fluent file.
Package locales embeds the greeter's Fluent file.
locales/settings
Package locales embeds the config schema's Fluent partials, which lys-settings reads through i18n.ConfigAssets.
Package locales embeds the config schema's Fluent partials, which lys-settings reads through i18n.ConfigAssets.
locales/shell
Package locales embeds the shell's Fluent partials: the bar, its dropdowns, the lock screen, the OSD and the notification surfaces.
Package locales embeds the shell's Fluent partials: the bar, its dropdowns, the lock screen, the OSD and the notification surfaces.
Package imagedecode opens raster images in the formats the Rust shell's `image` crate decodes by default for wallpapers: PNG, JPEG, GIF, BMP, TIFF, WebP (stdlib and golang.org/x/image), plus farbfeld, PNM (P1-P6), and TGA, which Go has no decoder for and this package registers itself.
Package imagedecode opens raster images in the formats the Rust shell's `image` crate decodes by default for wallpapers: PNG, JPEG, GIF, BMP, TIFF, WebP (stdlib and golang.org/x/image), plus farbfeld, PNM (P1-P6), and TGA, which Go has no decoder for and this package registers itself.
internal
appicons
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).
apptest
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.
cli
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.
clockwatch
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.
configdocs
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.
dbuscli
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).
desktopentry
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.
desktopnotify
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.
fakeclock
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.
feed
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.
fileuri
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.
fswatch
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).
glob
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).
gpuhost
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).
gvariant
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.
handoff
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).
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`.
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`.
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.
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.
icons/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.
ipcsock
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.
ipcsock/ipcsocktest
Package ipcsocktest fakes a hung compositor on a unix socket.
Package ipcsocktest fakes a hung compositor on a unix socket.
ipp
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.
jinja
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).
keytest
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.
launcheripc
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.
lockcli
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.
mime
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.
notifytest
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.
pango
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.
portal
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.
runtimesock
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.
rusterr
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.
rustparse
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).
spawn
Package spawn runs the shell commands the config names (click actions, power commands) and the apps the launcher starts.
Package spawn runs the shell commands the config names (click actions, power commands) and the apps the launcher starts.
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.
tools/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.
tools/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: …").
tools/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.
toplevels
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.
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 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.
walltimer
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.
widgetipc
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.
Package logging is lys-shell's log setup (lys-shell/src/core/tracing.rs and lys-shell's tracing_init): a daily file in the state directory, "<prefix>.<YYYY-MM-DD>.log", keeping the newest seven, behind the standard log package.
Package logging is lys-shell's log setup (lys-shell/src/core/tracing.rs and lys-shell's tracing_init): a daily file in the state directory, "<prefix>.<YYYY-MM-DD>.log", keeping the newest seven, behind the standard log package.
Package offheap holds large buffers (rasters, clipboard payloads) in memory-go memory instead of on the Go heap, so their pages go back to the system the moment their owner frees them rather than lingering as garbage that raises the heap goal.
Package offheap holds large buffers (rasters, clipboard payloads) in memory-go memory instead of on the Go heap, so their pages go back to the system the moment their owner frees them rather than lingering as garbage that raises the heap goal.
Package outputsize reads the size a surface covering an output has in device pixels.
Package outputsize reads the size a surface covering an output has in device pixels.
Package portal is lys-shell's xdg-desktop-portal backend: the org.freedesktop.impl.portal.* interfaces the compositor-independent xdg-desktop-portal frontend routes sandboxed apps' requests to, served as one object under the org.freedesktop.impl.portal.desktop.lys name that `lys-shell portal` claims.
Package portal is lys-shell's xdg-desktop-portal backend: the org.freedesktop.impl.portal.* interfaces the compositor-independent xdg-desktop-portal frontend routes sandboxed apps' requests to, served as one object under the org.freedesktop.impl.portal.desktop.lys name that `lys-shell portal` claims.
Package resources embeds the repository's bundled assets: the symbolic icons `lys-shell icons setup` installs.
Package resources embeds the repository's bundled assets: the symbolic icons `lys-shell icons setup` installs.
service
bluetooth
Package bluetooth is the BlueZ service, the Go counterpart of crates/wayle-bluetooth: the adapter and device model kept live from the ObjectManager and PropertiesChanged signals, the adapter and device controls, and the org.bluez.Agent1 pairing agent whose requests the UI answers.
Package bluetooth is the BlueZ service, the Go counterpart of crates/wayle-bluetooth: the adapter and device model kept live from the ObjectManager and PropertiesChanged signals, the adapter and device controls, and the org.bluez.Agent1 pairing agent whose requests the UI answers.
brightness
Package brightness reads and sets backlight levels, the Go counterpart of crates/wayle-brightness: sysfs enumeration and reads, logind SetBrightness as the write path with a direct sysfs fallback, and external monitors over DDC/CI (ddc.go) with kernel-uevent hotplug (uevent.go).
Package brightness reads and sets backlight levels, the Go counterpart of crates/wayle-brightness: sysfs enumeration and reads, logind SetBrightness as the write path with a direct sysfs fallback, and external monitors over DDC/CI (ddc.go) with kernel-uevent hotplug (uevent.go).
clipboard
Package clipboard is the session's clipboard history (crates/wayle-clipboard): what gets remembered, how it is labelled, what is refused, and the service that keeps it current from the Wayland selection over lys-ui's data-control device.
Package clipboard is the session's clipboard history (crates/wayle-clipboard): what gets remembered, how it is labelled, what is refused, and the service that keeps it current from the Wayland selection over lys-ui's data-control device.
hyprland
Package hyprland speaks Hyprland's IPC: the command socket for queries and dispatches, and the event socket for the live stream.
Package hyprland speaks Hyprland's IPC: the command socket for queries and dispatches, and the event socket for the live stream.
idleinhibit
Package idleinhibit is the shared idle-inhibit service: reactive state (active, duration, remaining), the session-bus daemon the `lys-shell idle` CLI drives, and the client half of that interface.
Package idleinhibit is the shared idle-inhibit service: reactive state (active, duration, remaining), the session-bus daemon the `lys-shell idle` CLI drives, and the client half of that interface.
keytoggles
Package keytoggles watches the keyboards' lock keys through evdev (the Rust shell's osd/toggles.rs): a Caps, Num, or Scroll Lock release reports the key and its LED state once the kernel settled it.
Package keytoggles watches the keyboards' lock keys through evdev (the Rust shell's osd/toggles.rs): a Caps, Num, or Scroll Lock release reports the key and its LED state once the kernel settled it.
launcher
Package launcher is the launcher engine, the rofi-replacement core (crates/wayle-launcher): the Mode contract, the matching and ranking engine, run history with frecency, the rofi hook and template grammar, and the Session that ties them together.
Package launcher is the launcher engine, the rofi-replacement core (crates/wayle-launcher): the Mode contract, the matching and ranking engine, run history with frecency, the rofi hook and template grammar, and the Session that ties them together.
launcher/modes
Package modes holds the launch modes (crates/wayle-launcher/src/ modes): drun, run, window, ssh, the file browsers, script and dmenu, combi, and the lys-shell-only calc, emoji, clipboard, and keys modes.
Package modes holds the launch modes (crates/wayle-launcher/src/ modes): drun, run, window, ssh, the file browsers, script and dmenu, combi, and the lys-shell-only calc, emoji, clipboard, and keys modes.
launcher/search
Package search is the launcher's search: one ranked list across providers (apps, windows, files, answers, ...), frecency that learns, levels you enter and leave, and the actions of a selected row.
Package search is the launcher's search: one ranked list across providers (apps, windows, files, answers, ...), frecency that learns, levels you enter and leave, and the actions of a selected row.
launcher/typetext
Package typetext enters text in the focused window through a virtual keyboard, whatever the seat's layout can reach: the keyboard carries a keymap of its own with one key per character.
Package typetext enters text in the focused window through a virtual keyboard, whatever the seat's layout can reach: the keyboard carries a keymap of its own with one key per character.
logind
Package logind is systemd-logind on the system bus as lys-shell uses it: the user's session resolved without the environment, and logging out of it.
Package logind is systemd-logind on the system bus as lys-shell uses it: the user's session resolved without the environment, and logging out of it.
logind/logindtest
Package logindtest is a fake systemd-logind on a private bus, seen from a caller outside any login session: a shell the systemd user manager started.
Package logindtest is a fake systemd-logind on a private bus, seen from a caller outside any login session: a shell the systemd user manager started.
lyswm
Package lyswm is the lys-wm IPC client: one JSON request line per connection on $LYS_WM_SOCKET, answered by one response line, and the watch stream of event lines (lys-wm's docs/ipc.md).
Package lyswm is the lys-wm IPC client: one JSON request line per connection on $LYS_WM_SOCKET, answered by one response line, and the watch stream of event lines (lys-wm's docs/ipc.md).
lyswm/lyswmtest
Package lyswmtest is a fake lys-wm on a private IPC socket, advertised through lyswm.SocketEnv for the test's duration.
Package lyswmtest is a fake lys-wm on a private IPC socket, advertised through lyswm.SocketEnv for the test's duration.
mail
Package mail is the unread-mail service, the Go counterpart of crates/wayle-shell-core's services/mail: notmuch queries (one per account, or the single query), re-run when the notmuch maildir changes, with optional desktop notifications for newly-arrived messages.
Package mail is the unread-mail service, the Go counterpart of crates/wayle-shell-core's services/mail: notmuch queries (one per account, or the single query), re-run when the notmuch maildir changes, with optional desktop notifications for newly-arrived messages.
mango
Package mango is the MangoWM IPC client (wayle-mango): one-shot "dispatch <command>" requests and the "watch all-monitors" / "watch all-clients" streams, each line a full-state JSON frame.
Package mango is the MangoWM IPC client (wayle-mango): one-shot "dispatch <command>" requests and the "watch all-monitors" / "watch all-clients" streams, each line a full-state JSON frame.
mpris
Package mpris is the media player service over MPRIS2 (D-Bus), the Go counterpart of crates/wayle-media: it discovers players by bus name, keeps each one's snapshot current from PropertiesChanged, picks the active player the way selection.rs does, and drives the transport (play/pause, next, previous, seek, loop, shuffle).
Package mpris is the media player service over MPRIS2 (D-Bus), the Go counterpart of crates/wayle-media: it discovers players by bus name, keeps each one's snapshot current from PropertiesChanged, picks the active player the way selection.rs does, and drives the transport (play/pause, next, previous, seek, loop, shuffle).
network
Package network reads NetworkManager state over the system D-Bus, the Go counterpart of crates/wayle-network's zbus proxy: overall state, wifi (enabled flag, active AP ssid and strength), wired (activated device), with StateChanged/PropertiesChanged ticks.
Package network reads NetworkManager state over the system D-Bus, the Go counterpart of crates/wayle-network's zbus proxy: overall state, wifi (enabled flag, active AP ssid and strength), wired (activated device), with StateChanged/PropertiesChanged ticks.
network/openconnect
Package openconnect produces the NetworkManager openconnect plugin's secrets without an openconnect binary, the Go counterpart of crates/wayle-network/src/vpn/openconnect.
Package openconnect produces the NetworkManager openconnect plugin's secrets without an openconnect binary, the Go counterpart of crates/wayle-network/src/vpn/openconnect.
network/openconnect/openconnecttest
Package openconnecttest holds the fakes the NM secret agent's tests need from the openconnect sign-in (the Rust's openconnect::testing::{silent_gateway, reached}).
Package openconnecttest holds the fakes the NM secret agent's tests need from the openconnect sign-in (the Rust's openconnect::testing::{silent_gateway, reached}).
network/secrets
Package secrets holds the credential-prompt contract shared by the NetworkManager secret agent and the VPN sign-ins that run inside it, the Go counterpart of crates/wayle-network's types/agent.rs and the VPN variants of error.rs.
Package secrets holds the credential-prompt contract shared by the NetworkManager secret agent and the VPN sign-ins that run inside it, the Go counterpart of crates/wayle-network's types/agent.rs and the VPN variants of error.rs.
nightlight
Package nightlight is the night light module's service side: the colour filter it applies through the compositor's CTM or gamma protocol, the dawn/dusk schedule (NOAA sunrise equation, no network) and its easing, the GeoClue location lookup, and the records that survive restarts.
Package nightlight is the night light module's service side: the colour filter it applies through the compositor's CTM or gamma protocol, the dawn/dusk schedule (NOAA sunrise equation, no network) and its easing, the GeoClue location lookup, and the records that survive restarts.
niri
Package niri is the niri IPC client (wayle-niri): newline-delimited JSON requests and replies over $NIRI_SOCKET in niri-ipc's serde shapes, workspace and window snapshots, actions, and the event stream on a second socket.
Package niri is the niri IPC client (wayle-niri): newline-delimited JSON requests and replies over $NIRI_SOCKET in niri-ipc's serde shapes, workspace and window snapshots, actions, and the event stream on a second socket.
notifications
Package notifications is the desktop notification service: the org.freedesktop.Notifications server, the stored history, the popup list with its pausable countdowns, and the sticky do-not-disturb state.
Package notifications is the desktop notification service: the org.freedesktop.Notifications server, the stored history, the popup list with its pausable countdowns, and the sticky do-not-disturb state.
powerprofiles
Package powerprofiles is the power-profiles-daemon client: the active profile, the available set, property-change ticks, and the cycle action.
Package powerprofiles is the power-profiles-daemon client: the active profile, the available set, property-change ticks, and the cycle action.
pulse
Package pulse is the audio service, the Go port of crates/wayle-audio: sinks, sources, and per-application streams kept live from PulseAudio's subscription events, the default devices, per-channel volume and mute, ports, stream routing, and record streams, all over the native protocol (package native), so it works against PulseAudio and pipewire-pulse alike with no libpulse.
Package pulse is the audio service, the Go port of crates/wayle-audio: sinks, sources, and per-application streams kept live from PulseAudio's subscription events, the default devices, per-channel volume and mute, ports, stream routing, and record streams, all over the native protocol (package native), so it works against PulseAudio and pipewire-pulse alike with no libpulse.
pulse/native
Package native is a PulseAudio native-protocol client in pure Go: the pstream framing, the tagstruct encoding, the handshake, the introspection and control commands wayle-audio drives through libpulse, the subscription events, and record streams.
Package native is a PulseAudio native-protocol client in pure Go: the pstream framing, the tagstruct encoding, the handshake, the introspection and control commands wayle-audio drives through libpulse, the subscription events, and record streams.
pulse/pulsetest
Package pulsetest is a fake PulseAudio server for tests: a unix socket speaking the native protocol's real frames, backed by a scriptable object model (sinks, sources, streams, defaults) that answers introspection, applies control commands, emits subscription events the way pulsecore does, serves record streams, and can inject server errors, malformed frames, and disconnects.
Package pulsetest is a fake PulseAudio server for tests: a unix socket speaking the native protocol's real frames, backed by a scriptable object model (sinks, sources, streams, defaults) that answers introspection, applies control commands, emits subscription events the way pulsecore does, serves record streams, and can inject server errors, malformed frames, and disconnects.
recorder
Package recorder is the screen recorder service: the lifecycle state machine (idle, starting, recording, stopping), the elapsed timer, options from the modules.recorder config, and the engine.
Package recorder is the screen recorder service: the lifecycle state machine (idle, starting, recording, stopping), the elapsed timer, options from the modules.recorder config, and the engine.
recorder/recordertest
Package recordertest is the scripted recorder.Engine every recorder test drives: sessions and recordings that record their calls, an optional gate that holds OpenSession (the output picker), and a hook that ends a recording as a failed capture would.
Package recordertest is the scripted recorder.Engine every recorder test drives: sessions and recordings that record their calls, an optional gate that holds OpenSession (the output picker), and a hook that ends a recording as a failed capture would.
screenshare
Package screenshare is the screen shares the desktop portal runs: what each ScreenCast or RemoteDesktop session streams, and a way to stop one.
Package screenshare is the screen shares the desktop portal runs: what each ScreenCast or RemoteDesktop session streams, and a way to stop one.
sharepreview
Package sharepreview is the capture half of wayle-share-preview on top of lys-lib's capture package: turning captured frames into images (the output-transform correction, the preview downscale) and the XDPH window list the share picker reads.
Package sharepreview is the capture half of wayle-share-preview on top of lys-lib's capture package: turning captured frames into images (the output-transform correction, the preview downscale) and the XDPH window list the share picker reads.
shellipc
Package shellipc is the shell's own session-bus surface: the dev.stubbe.lys.Shell1 control interface (wayle-shell-core's shell_ipc: bar visibility per monitor, the lock and VPN sign-in hooks) and the GApplication identity dev.stubbe.lys.shell with its org.gtk.Actions (quit, inspector), which `lys-shell panel` and single-instance checks use.
Package shellipc is the shell's own session-bus surface: the dev.stubbe.lys.Shell1 control interface (wayle-shell-core's shell_ipc: bar visibility per monitor, the lock and VPN sign-in hooks) and the GApplication identity dev.stubbe.lys.shell with its org.gtk.Actions (quit, inspector), which `lys-shell panel` and single-instance checks use.
sni
Package sni is the StatusNotifierItem tray service: the watcher and host D-Bus roles, item discovery, and the snapshot store the bar module renders.
Package sni is the StatusNotifierItem tray service: the watcher and host D-Bus roles, item discovery, and the snapshot store the bar module renders.
sway
Package sway is the sway/i3 IPC client: the i3 wire protocol over $SWAYSOCK, workspace snapshots, an event subscription, and layout commands.
Package sway is the sway/i3 IPC client: the i3 wire protocol over $SWAYSOCK, workspace snapshots, an event subscription, and layout commands.
sysinfo
Package sysinfo reads the kernel's own counters: /proc/stat for CPU time, /proc/meminfo for memory, and statfs for storage.
Package sysinfo reads the kernel's own counters: /proc/stat for CPU time, /proc/meminfo for memory, and statfs for storage.
treeman
Package treeman is the treeman daemon client: worktree health as a status snapshot from the `treeman status` CLI, refreshed whenever the daemon's event socket signals activity.
Package treeman is the treeman daemon client: worktree health as a status snapshot from the `treeman status` CLI, refreshed whenever the daemon's event socket signals activity.
upower
Package upower reads battery state from UPower over the system D-Bus, the Go counterpart of crates/wayle-battery's zbus proxy: the DisplayDevice aggregate by default, live updates through PropertiesChanged.
Package upower reads battery state from UPower over the system D-Bus, the Go counterpart of crates/wayle-battery's zbus proxy: the DisplayDevice aggregate by default, live updates through PropertiesChanged.
wallpaper
Package wallpaper ports crates/wayle-wallpaper: per-monitor wallpaper state, fit modes, directory cycling (sequential or shuffled, shared or per monitor, rescanned on directory changes), color extraction for theming, and the dev.stubbe.lys.Wallpaper1 D-Bus interface the `lys-shell wallpaper` CLI drives.
Package wallpaper ports crates/wayle-wallpaper: per-monitor wallpaper state, fit modes, directory cycling (sequential or shuffled, shared or per monitor, rescanned on directory changes), color extraction for theming, and the dev.stubbe.lys.Wallpaper1 D-Bus interface the `lys-shell wallpaper` CLI drives.
wallpaper/extract
Package extract runs the external color extractor that feeds theming: wallust, matugen, or pywal over the theming monitor's wallpaper (crates/wayle-wallpaper/src/types/color_extractor).
Package extract runs the external color extractor that feeds theming: wallust, matugen, or pywal over the theming monitor's wallpaper (crates/wayle-wallpaper/src/types/color_extractor).
weather
Package weather is wayle-weather: forward geocoding, the Open-Meteo, Visual Crossing, and WeatherAPI.com providers behind one model, and the polling service the bar module and dropdown read.
Package weather is wayle-weather: forward geocoding, the Open-Meteo, Visual Crossing, and WeatherAPI.com providers behind one model, and the polling service the bar module and dropdown read.
Package settingspage is the contract between lys-settings and the programs that open it: its command line, and the page list it prints so a launcher can offer its pages without linking the app.
Package settingspage is the contract between lys-settings and the programs that open it: its command line, and the page list it prints so a launcher can offer its pages without linking the app.
shell
apptheme
Package apptheme is what every lys-shell GTK-era surface loads at start (bootstrap.rs, lys-settings app/css.rs): the Rust stylesheet bundle with its hot reload, the stylesheet font resolver, and the lys-shell icon registry on the icon search path.
Package apptheme is what every lys-shell GTK-era surface loads at start (bootstrap.rs, lys-settings app/css.rs): the Rust stylesheet bundle with its hot reload, the stylesheet font resolver, and the lys-shell icon registry on the icon search path.
bar
Package bar renders lys-shell's bar: the layer surfaces docked to the screen edges, one per output that the config gives a layout.
Package bar renders lys-shell's bar: the layer surfaces docked to the screen edges, one per output that the config gives a layout.
colorpicker
Package colorpicker is the magnifier-loupe color picker (crates/lys-shell/src/shell/color_picker): a frozen-frame layer surface per monitor with a zoom loupe that follows the pointer - the magnified pixels around it, a crosshair on the exact pixel a click picks, a hex readout, and a row of recently picked swatches.
Package colorpicker is the magnifier-loupe color picker (crates/lys-shell/src/shell/color_picker): a frozen-frame layer surface per monitor with a zoom loupe that follows the pointer - the magnified pixels around it, a crosshair on the exact pixel a click picks, a hex readout, and a row of recently picked swatches.
dialogqueue
Package dialogqueue orders the requests one shell dialog surface serves: one shows at a time, and the rest wait their turn in arrival order instead of cancelling the one showing.
Package dialogqueue orders the requests one shell dialog surface serves: one shows at a time, and the rest wait their turn in arrival order instead of cancelling the one showing.
filechooser
Package filechooser is the shell's dev.stubbe.lys.FileChooser1 host (lys-shell services/file_chooser and shell/file_chooser): the file dialog behind the portal backend's FileChooser.
Package filechooser is the shell's dev.stubbe.lys.FileChooser1 host (lys-shell services/file_chooser and shell/file_chooser): the file dialog behind the portal backend's FileChooser.
keys
Package keys reads a surface's key presses by the symbol the seat's keymap gives them, never by evdev code: a client that sends its own keymap (wtype, a remote-desktop peer) puts its keys on codes of its own, and a keyboard layout moves letters, so a code names no key.
Package keys reads a surface's key presses by the symbol the seat's keymap gives them, never by evdev code: a client that sends its own keymap (wtype, a remote-desktop peer) puts its keys on codes of its own, and a keyboard layout moves letters, so a code names no key.
launcher
Package launcher is the launcher surface (crates/lys-shell/src/ shell/launcher): a layer-shell overlay per `lys-shell launcher` session, hosting the service/launcher engine.
Package launcher is the launcher surface (crates/lys-shell/src/ shell/launcher): a layer-shell overlay per `lys-shell launcher` session, hosting the service/launcher engine.
layering
Package layering maps a configured layer onto the layer-shell stack (wayle-shell-core helpers/layer_shell.rs apply_layer): every shell surface with a layer key goes through For, so general.tearing-mode demotes them all the same way.
Package layering maps a configured layer onto the layer-shell stack (wayle-shell-core helpers/layer_shell.rs apply_layer): every shell surface with a layer key goes through For, so general.tearing-mode demotes them all the same way.
lockclient
Package lockclient is the shell's side of locking: it owns the triggers (logind's Lock signal, `lys-shell lock`, lock-on-start, and a lock found held at startup) and answers each by starting `lys-login lock`, the login screen in its lock mode, as a process of its own.
Package lockclient is the shell's side of locking: it owns the triggers (logind's Lock signal, `lys-shell lock`, lock-on-start, and a lock found held at startup) and answers each by starting `lys-login lock`, the login screen in its lock mode, as a process of its own.
loupe
Package loupe is the frozen frame the color picker and the region overlay paint behind everything, and the magnified pixel grid they show near the pointer over it: the color picker's card and the region overlay's magnifier.
Package loupe is the frozen frame the color picker and the region overlay paint behind everything, and the magnified pixel grid they show near the pointer over it: the color picker's card and the region overlay's magnifier.
notifyui
Package notifyui is what the notification popups and the bar's notification dropdown share (wayle-shell-core notification_icons.rs): icon resolution, urgency classes, relative times, and body text.
Package notifyui is what the notification popups and the bar's notification dropdown share (wayle-shell-core notification_icons.rs): icon resolution, urgency classes, relative times, and body text.
osd
Package osd is the on-screen display (lys-shell osd/): one layer surface on the configured monitor flashing volume, microphone, brightness, and lock-key events and the toasts `lys-shell toast` pushes, styled by the stylesheet's .osd rules and dismissed after osd.duration.
Package osd is the on-screen display (lys-shell osd/): one layer surface on the configured monitor flashing volume, microphone, brightness, and lock-key events and the toasts `lys-shell toast` pushes, styled by the stylesheet's .osd rules and dismissed after osd.duration.
popups
Package popups renders the notification popup window: stacks of cards on one output, following the notification service's feed, auto-dismissing after the configured duration, hidden while DND.
Package popups renders the notification popup window: stacks of cards on one output, following the notification service's feed, auto-dismissing after the configured duration, hidden while DND.
powermenu
Package powermenu is the native power menu (shell/power_menu): a full-screen dimmed overlay with a centered pane of frosted glass holding lock, log out, suspend, reboot and shut-down buttons, each running its [modules.power] command.
Package powermenu is the native power menu (shell/power_menu): a full-screen dimmed overlay with a centered pane of frosted glass holding lock, log out, suspend, reboot and shut-down buttons, each running its [modules.power] command.
printdialog
Package printdialog is the shell's dev.stubbe.lys.Print1 host (lys-shell services/print and shell/print): the print dialog and spooler behind the portal backend's Print.
Package printdialog is the shell's dev.stubbe.lys.Print1 host (lys-shell services/print and shell/print): the print dialog and spooler behind the portal backend's Print.
regionoverlay
Package regionoverlay is the region selection overlay: a layer surface on every monitor, a dim wash with a transparent hole where the selection overlaps that monitor, an accent border with resize handles, and a "W × H" size label.
Package regionoverlay is the region selection overlay: a layer surface on every monitor, a dim wash with a transparent hole where the selection overlaps that monitor, an accent border with resize handles, and a "W × H" size label.
reveal
Package reveal plays the [animations] config on lys-ui revealers: the transition style and duration each transient surface resolves for entering or exiting (the per-surface, global, base cascade), the job of the Rust shell's surface_anim helper.
Package reveal plays the [animations] config on lys-ui revealers: the transition style and duration each transient surface resolves for entering or exiting (the per-surface, global, base cascade), the job of the Rust shell's surface_anim helper.
screenshot
Package screenshot is the screenshot host (crates/lys-shell/src/shell/screenshot) behind the dev.stubbe.lys.Screenshot1 D-Bus service: it resolves the capture target (opening the freeze-frame region overlay for region mode), captures a full-resolution image, saves a PNG, optionally copies it to the clipboard and fires a desktop notification, and replies with the path.
Package screenshot is the screenshot host (crates/lys-shell/src/shell/screenshot) behind the dev.stubbe.lys.Screenshot1 D-Bus service: it resolves the capture target (opening the freeze-frame region overlay for region mode), captures a full-resolution image, saves a PNG, optionally copies it to the clipboard and fires a desktop notification, and replies with the path.
sharepicker
Package sharepicker is the screencast source picker (crates/lys-shell/src/shell/share_picker) the portal pops over dev.stubbe.lys.SharePicker1: a layer surface with Windows, Outputs, and Region pages.
Package sharepicker is the screencast source picker (crates/lys-shell/src/shell/share_picker) the portal pops over dev.stubbe.lys.SharePicker1: a layer surface with Windows, Outputs, and Region pages.
treetest
Package treetest walks lys-ui widget trees for the shell's surface tests: find the button a user would click, read what the labels say.
Package treetest walks lys-ui widget trees for the shell's surface tests: find the button a user would click, read what the labels say.
wallpaper
Package wallpaper renders the wallpaper service natively (crates/lys-shell/src/shell/wallpaper, bootstrap/wallpaper.rs, and the hotplug half of watchers/wallpaper.rs): one Background layer surface per output, reconciled against the service's per-monitor state, each swapping images with the wallpaper transition.
Package wallpaper renders the wallpaper service natively (crates/lys-shell/src/shell/wallpaper, bootstrap/wallpaper.rs, and the hotplug half of watchers/wallpaper.rs): one Background layer surface per output, reconciled against the service's per-monitor state, each swapping images with the wallpaper transition.
widgets
Package widgets is wayle-widgets: the controls the shell surfaces and the settings app share.
Package widgets is wayle-widgets: the controls the shell surfaces and the settings app share.
Package shlex splits and quotes command lines the way the Rust shlex crate (1.3) does, byte for byte: the launcher's hooks, templates, and `-format q` output have to agree with what the Rust shell produced.
Package shlex splits and quotes command lines the way the Rust shlex crate (1.3) does, byte for byte: the launcher's hooks, templates, and `-format q` output have to agree with what the Rust shell produced.
Package strftime formats lys-shell's strftime-style format strings.
Package strftime formats lys-shell's strftime-style format strings.
Package styling resolves lys-shell's design tokens to concrete colors: the Go counterpart of crates/wayle-styling.
Package styling resolves lys-shell's design tokens to concrete colors: the Go counterpart of crates/wayle-styling.
Package swaytest runs a private headless sway for tests, so Wayland clients connect to it instead of the developer's session.
Package swaytest runs a private headless sway for tests, so Wayland clients connect to it instead of the developer's session.
Package testhome runs a test binary against a scratch home, so no test (or a daemon it starts) reads or writes the real user's files: the config the shell scaffolds and loads, the notification history, the persisted state.
Package testhome runs a test binary against a scratch home, so no test (or a daemon it starts) reads or writes the real user's files: the config the shell scaffolds and loads, the notification history, the persisted state.
third_party
fourier
Package fourier provides functions to perform Discrete Fourier Transforms.
Package fourier provides functions to perform Discrete Fourier Transforms.
fourier/internal/fftpack
Package fftpack implements Discrete Fourier Transform functions ported from the Fortran implementation of FFTPACK.
Package fftpack implements Discrete Fourier Transform functions ported from the Fortran implementation of FFTPACK.
jpeg
Package jpeg is the standard library's image/jpeg decoder with the decoded pixels and the progressive coefficients held in memory-go memory instead of on the Go heap.
Package jpeg is the standard library's image/jpeg decoder with the decoded pixels and the progressive coefficients held in memory-go memory instead of on the Go heap.
Package useraccount describes a user account the way the desktop shows it: login name, real name, home, and avatar.
Package useraccount describes a user account the way the desktop shows it: login name, real name, home, and avatar.

Jump to

Keyboard shortcuts

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