No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dependabot[bot] c61479b929
chore(deps): bump zbus from 6.1.0 to 6.2.1 (#451)
Bumps [zbus](https://github.com/z-galaxy/zbus) from 6.1.0 to 6.2.1.
- [Release notes](https://github.com/z-galaxy/zbus/releases)
- [Changelog](https://github.com/z-galaxy/zbus/blob/main/release-plz.toml)
- [Commits](https://github.com/z-galaxy/zbus/compare/zbus-6.1.0...zbus-6.2.1)

---
updated-dependencies:
- dependency-name: zbus
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-11-09 16:12:46 +09:00
.github chore(deps): bump rust-lang/crates-io-auth-action from 1.0.5 to 1.0.6 (#446) 2026-10-28 11:20:14 +09:00
docs chore: add MIGRATION document 2026-10-21 23:01:50 +09:00
exwlshellev fix: blur should change if the stored region is not the same 2026-11-06 23:59:56 +09:00
iced_examples feat: xdg_foreign example allow to attach to foreign surface with id 2026-11-04 11:43:47 +09:00
iced_exdevtools chore: bump winit crate to beta.3 2026-09-11 21:15:55 +09:00
iced_exwlshell feat: impl xdg-foreign-unstable-v2 2026-11-03 23:51:43 +05:00
iced_exwlshell_macros feat: impl xdg-foreign-unstable-v2 2026-11-03 23:51:43 +05:00
iced_wayland_subscriber feat: impl xdg-foreign-unstable-v2 2026-11-03 23:51:43 +05:00
misc feat(visibility): add layer-shell visibility demo (#436) 2026-10-22 15:22:42 +09:00
waycrate_xkbkeycode refactor: clean up waycrate_xkbkeycode 2026-04-22 16:42:01 +09:00
.editorconfig chore: bump version 2024-10-09 18:24:12 +09:00
.gitignore chore: init 2023-12-15 14:48:36 +08:00
_typos.toml chore: little format 2024-07-31 10:23:27 +09:00
Cargo.lock chore(deps): bump zbus from 6.1.0 to 6.2.1 (#451) 2026-11-09 16:12:46 +09:00
Cargo.toml chore: new tag 0.21.4 2026-11-07 00:05:01 +09:00
CHANGELOG.md chore: new tag 0.21.4 2026-11-07 00:05:01 +09:00
LICENSE chore: add README 2023-12-16 11:03:00 +08:00
README.md chore: modified the README, make the content better (#448) 2026-11-01 15:46:20 +09:00

exwlshelleventloop

Build Wayland desktop components with iced: panels, docks, launchers, lock screens and on-screen keyboards.

This project binds the wlr-layer-shell and ext-session-lock protocols, plus input-panel, to iced. These protocols give a surface a role that xdg-shell does not cover, and xdg-shell is all that winit and iced support. Hence the "ex" (extra) in exwlshell.

The design of exwlshell take reference from winit, also with something different, and the iced_exwlshell help you to write wlr-layer-shell and ext-session-lock programs easily This makes layer-shell and session-lock programs easier to write.

How it works

iced has no way to add custom system actions or system events. We work around this through Message.

  • The application's Message must implement TryInto<ExWlShellCustomActionWithId, Error = Message>.
  • The event loop calls try_into on every message. A message that converts is run as a shell action, such as opening a layer surface or locking the session. Any other message goes to your update as usual.
  • The #[to_exwlshell_message] attribute macro adds the action variants to your Message enum and implements that conversion for you.

Custom events are also proposed upstream in iced-rs/iced#2658.

Crates

The main crates are listed first. iced_exwlshell is the one most users want.

iced_exwlshell

Crates.io

The full iced binding for the extra shells. Use it to build shell programs such as lock screens and docks.

  • Open new layer-shell surfaces, including popups
  • Session lock
  • Virtual keyboard (zwp_virtual_keyboard_v1)

exwlshellev

Crates.io

One event loop for layer-shell, session-lock and input-panel. It does not depend on iced. It provides complete shell support for iced_exwlshell, which is built on it.

iced_wayland_subscriber

Crates.io

iced subscriptions for Wayland events, such as ext-workspace and outputs. Use it to listen to compositor state from an iced application.

waycrate_xkbkeycode

Crates.io

Handles xkbcommon events. Mostly adapted from winit.

Supporting crates

Crate Purpose
iced_exwlshell_macros Proc macros, re-exported by iced_exwlshell.
iced_exdevtools Developer tools for iced_exwlshell applications.

Runnable examples are in iced_examples.

Limitations

Popups work in these shells, but neither winit nor iced has popup or tooltip support yet. Treat them as experimental. A design for proper support exists. It is not implemented, and needs a closer read of the iced internals first.

Documentation and help

The API documentation is still thin. If something is unclear:

  • Ask in our Discord
  • Open an issue
  • Send a PR

PRs and issues are always welcome.

Migrating

From 0.20.0, iced_layershell and iced_sessionlock are deprecated. Their functions and macros now live in iced_exwlshell. The migration guides are in docs: