Skip to content
onix-osPublic

About

wayland window manager/compositor in rust using wlroots

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

0xin

A from-scratch tiling Wayland compositor, written in Rust on top of wlroots.

0xin is a personal, learning-first compositor built directly on wlroots 0.19 rather than on top of any desktop. It's a dynamic tiling compositor — windows are arranged automatically to fill the screen instead of floating and overlapping.

Status: early but real. It runs nested inside another Wayland session for development, and on actual hardware as a real DRM/KMS session on a TTY. It is being grown into something to daily-drive, one capability at a time.

What works now

  • Spiral / dwindle tiling — each new window splits the remaining space, alternating vertical (left/right) then horizontal (top/bottom).
  • Workspaces the Hyprland way — made on demand (any number, not a fixed nine) and dropped when empty; switch between them and move windows across them from the keyboard, and the window takes you along unless you ask it not to.
  • Multi-monitor with focus-follows-monitor — each workspace belongs to one monitor, and switching to one on another monitor moves focus there. A monitor plugged in gets a fresh workspace; one unplugged hands its workspaces to the others and gets them back when it returns. New windows open on the monitor your cursor is on. Position/scale per named output are configurable (oxin.monitors["DP-1"] = {…}), otherwise auto-placed.
  • Keyboard-driven, configured and scripted in Lua (~/.config/0xin/init.lua) through an embedded pure-Rust interpreter: settings are assigned, keybindings and behaviour are registered, and a binding can be a Lua function. A broken config is reported with its line and 0xin starts on defaults anyway.
  • Plugins — a neovim-shaped runtimepath (plugin/ runs, lua/ is required, after/ last), so config somebody else wrote drops in as a directory.
  • Pointer + cursor with click-to-focus, or focus-follows-mouse (oxin.focus_follows_mouse = true).
  • Runs real xdg-shell apps (terminals, browsers, …), with their menus and popups — kept on screen near an edge, and nested submenus included.
  • Runs on a real TTY via libseat/logind, and survives VT switching (Ctrl+Alt+Fn away and back) without crashing or losing your windows.
  • Layer-shell (wlr-layer-shell-unstable-v1) — bars, panels and wallpaper (e.g. quickshell) render in the correct z-order and reserve their screen space, so tiled windows never sit underneath them. Their menus (tray, dropdowns) draw over windows even from a bottom-layer bar.
  • Server-side decorations (xdg-decoration-unstable-v1) — 0xin always claims decoration, so clients don't draw their own title bar/border: bare, borderless windows.
  • Screenshots/screen recording (wlr-screencopy-unstable-v1 + xdg-output) — tools like grim and wf-recorder capture 0xin's real composited output directly.
  • Remote desktops get the keyboard (keyboard-shortcuts-inhibit-unstable-v1) — an RDP/VNC viewer or VM window that grabs the keyboard (Remmina, FreeRDP's SDL client) gets Super and every 0xin chord while focused; Ctrl+Alt+Escape gives them back. Middle-click paste (primary-selection-unstable-v1) works between apps.
  • Reachable from elsewhere — the protocols a remote-desktop server, clipboard manager or wl-clipboard needs (wlr-virtual-pointer, wlr/ext-data-control, ext-image-copy-capture), plus virtual monitors that only a remote viewer sees (0xinctl headless-output add), on real hardware too.
  • Real display power-off (wlr-output-power-management-unstable-v1) — a client (e.g. Patin's patin-lock) can request an actual DPMS on/off per output, distinct from the opaque lock cover below.

Docs

The full story — architecture, environment/toolchain, and a phase-by-phase build log (every stage from Stage 0 on, each with its deliverable and how it actually went) — lives in an mdBook under docs/, published at onix-os.github.io/oxin. Preview it locally with:

mdbook serve

Architecture

The split is deliberate:

  • Rust owns all policy — the window list, tiling layout, workspaces, keybindings, config, and overall flow (src/main.rs, src/config/, src/lua/).
  • A thin C shim (shim/oxide_shim.{c,h}) owns the parts that are awkward or unsafe to model through FFI: the wlroots wl_listener/wl_signal glue (intrusive linked lists) and anything that needs to read wlroots struct fields directly. It exposes clean (userdata, data) callbacks to Rust.
  • wlroots is the C library doing the heavy lifting (DRM/KMS modesetting, the GLES2 renderer, libinput, the scene graph, protocol plumbing). We bind to it with bindgen + the shim; we don't rewrite it.

In short: wlroots = mechanism, 0xin = policy. See notes/architecture.md for the full division of labour.

Build

Built and run on Arch Linux. System dependencies:

wlroots0.19 wayland wayland-protocols libxkbcommon libinput libdrm seatd mesa pixman pkgconf clang

The Rust toolchain is pinned in rust-toolchain.toml. Then:

cargo build

The build script (build.rs) finds wlroots via pkg-config, generates the xdg-shell protocol header with wayland-scanner, compiles the C shim, and runs bindgen over wrapper.h.

Install

cargo build leaves the binaries in target/ and nothing else. make install puts them where a system expects them, using Hyprland's layout:

make               # cargo build --release
sudo make install  # PREFIX=/usr/local

That places 0xin and 0xinctl in $PREFIX/bin and the session entry (dist/0xin.desktop) in $PREFIX/share/wayland-sessions/, so a display manager offers 0xin as a session to log into. PREFIX=/usr and DESTDIR= are honoured for packaging, and make uninstall removes exactly what was installed.

Cargo is still the build system; the Makefile exists only to place the files cargo cannot — cargo install handles binaries alone, and only into ~/.cargo/bin.

Prebuilt releases

Each release carries 0xin-linux-arm64-musl.tar.gz, built on Alpine for aarch64 — for devices that cannot build 0xin themselves, such as a postmarketOS phone (see profiles/fp5/). Unpack it and run the included install.sh, which installs the same files to the same places as make install.

Releases are tagged vMAJOR.MINOR.PATCH, matching version in Cargo.toml — the release workflow refuses to build a tag that disagrees with the manifest. That gives an update script two fixed points to compare:

installed=$(0xin --version | cut -d' ' -f2)                    # e.g. 0.2.0
latest=$(curl -fsSL https://api.github.com/repos/onix-os/oxin/releases/latest \
         | sed -n 's/.*"tag_name": *"v\([^"]*\)".*/\1/p')
[ "$installed" = "$latest" ] || echo "0xin $latest is available (have $installed)"

The download URL always resolves to the newest release, so a script never has to construct a version into it:

https://github.com/onix-os/oxin/releases/latest/download/0xin-linux-arm64-musl.tar.gz

With Nix

A flake is committed, so 0xin builds without any of the above on a machine that has Nix — and can be declared as a session on NixOS. The Rust version is not repeated in flake.nix; it is read out of rust-toolchain.toml, so both builds use the same compiler.

nix build     # the compositor, 0xinctl, and a wayland-sessions entry
nix develop   # wlroots 0.19, clang and the pinned toolchain, then cargo
nix flake check

On a non-NixOS host the Nix-built binary builds but won't render — it links Nix's libglvnd and can't see the system's GPU driver. Build with Nix, run with cargo; on NixOS the module turns on hardware.graphics and it runs as a real session.

On NixOS, import the module and the session appears in your display manager:

{
  inputs.oxin.url = "github:onix-os/oxin/v0.2.0";   # or drop the tag to follow main

  # in configuration.nix
  imports = [ inputs.oxin.nixosModules.default ];
  programs.oxin = {
    enable = true;
    extraPackages = [ pkgs.kitty ];   # Mod+Return spawns kitty by default
    config = ''
      local oxin = require("oxin")
      oxin.gap = 10
    '';
  };
}

Run

Nested (the fast dev loop)

Inside an existing Wayland session, 0xin opens as a window:

OXIN_MOD=alt cargo nested -- kitty

cargo nested is an alias for cargo run. OXIN_MOD=alt makes the modifier key Alt instead of Super, because the host compositor grabs Super-chords before 0xin sees them. The trailing -- kitty launches a test client against 0xin's socket.

On a real display (TTY / DRM-KMS)

From a free virtual terminal (e.g. Ctrl+Alt+F5), logged in:

LIBSEAT_BACKEND=logind ~/proj/0xin/target/debug/0xin kitty 2>~/0xin-tty.log

LIBSEAT_BACKEND=logind lets logind grant the active VT its devices (no seat group needed). Here the modifier is the real Super key. Ctrl+Alt+F1 gets you back to your main session. More detail and verification recipes are in notes/running-and-verifying.md.

Default keybindings

Mod is Super by default (Alt when running nested with OXIN_MOD=alt).

Keys Action
Mod + Return Open the terminal
Mod + Q Close the focused window
Mod + Shift + Q Quit 0xin
Mod + H/J/K/L Focus the window left/down/up/right
Mod + Shift + H/J/K/L Move the focused window left/down/up/right
Mod + F Toggle fullscreen for the focused window
Mod + V Toggle floating for the focused window
Mod + left-drag Move a floating window; drag a tiled one beside another, into its place, or to another monitor
Mod + right-drag Resize a floating window; move a tiled one's edges
Mod + 1…9 Switch to workspace 1–9
Mod + Shift + 1…9 Move focused window to workspace 1–9
Ctrl + Alt + Escape Pass every key to the focused window, or take them back (remote desktops)
Ctrl + Alt + F1…F12 Switch virtual terminal

Configuration

0xin reads ~/.config/0xin/init.lua (or $XDG_CONFIG_HOME/0xin/init.lua), which is ordinary Lua run by an embedded interpreter. With no config file it uses the built-in defaults above.

The shape is: assign the settings, register the behaviour, return nothing. Bindings are keyed by chord, so yours override the built-ins one at a time and every unmentioned default stays active — a two-line config still has working workspace switches, close and quit.

local oxin = require("oxin")

-- Set the modifier before any MOD+ binding: chords resolve MOD as written.
oxin.modifier       = "super"
oxin.gap            = 10
oxin.background     = { 0.0, 0.6, 0.6 }
oxin.wallpaper      = "~/Pictures/wallpaper.jpg"
oxin.window_opacity = 1.0
oxin.corner_radius  = 0
oxin.border_width   = 0
oxin.border_color_focused   = { 0.35, 0.65, 1.0 }
oxin.border_color_unfocused = { 0.25, 0.25, 0.25 }
oxin.focus_follows_mouse    = false  -- true: the window the pointer enters gets focus
oxin.tile_drag = { sides = { "left", "right", "top", "bottom" }, replace = true }  -- Mod+drag drops
oxin.tile_resize = true             -- Mod+right-drag moves a tiled window's edges

-- Explicit position for a named output (connector name, as logged:
-- "output <name> online..."). Unlisted outputs keep auto-placement.
oxin.monitors["HDMI-A-1"] = { x = 0, y = -1080, scale = 1.0 }

oxin.keys["MOD+Return"]  = oxin.action.spawn("kitty")
oxin.keys["MOD+q"]       = oxin.action.close
oxin.keys["MOD+SHIFT+q"] = oxin.action.quit
oxin.keys["MOD+h"]       = oxin.action.focus("left")
oxin.keys["MOD+SHIFT+h"] = oxin.action.move("left")

-- It is a real language, so nine workspace keys take two lines. Workspaces
-- themselves are made on demand, so any number works.
for i = 1, 9 do
  oxin.keys["MOD+" .. i]       = oxin.action.workspace(i)
  oxin.keys["MOD+SHIFT+" .. i] = oxin.action.move_to_workspace(i)
end
-- Moving a window takes you along, as in Hyprland; this one stays put.
oxin.keys["MOD+CTRL+1"] = oxin.action.move_to_workspace(1, { follow = false })

-- A chord can have both a tap and a hold; they are separate tables.
oxin.keys["XF86PowerOff"] = oxin.action.spawn("swaylock")
oxin.hold["XF86PowerOff"] = { ms = 2000, action = oxin.action.spawn("session-menu") }

-- Assigning nil removes a binding, including a built-in one.
oxin.keys["MOD+f"] = nil

-- A binding can be a function, and then it can do anything Lua can.
oxin.keys["MOD+g"] = function()
  oxin.gap = (oxin.gap == 0) and 12 or 0
end

-- Optional virtual-keyboard controller. Focused clients using Wayland
-- text-input-v3 invoke the same provider-neutral commands automatically.
oxin.keyboard = {
  show   = "pkill -USR2 -x wvkbd-mobintl",
  hide   = "pkill -USR1 -x wvkbd-mobintl",
  height = 125,
}
oxin.gesture_handle = "hidden"   -- visible (default) | hidden; the visual pill only

-- Touch gestures reach the same actions.
oxin.gestures["bottom-up"]     = oxin.action.keyboard_show
oxin.gestures["edge-left-in"]  = oxin.action.workspace_prev
oxin.gestures["edge-right-in"] = oxin.action.workspace_next
oxin.gestures["top-right"]     = oxin.action.spawn("brightnessctl set +5%")
oxin.gestures["three-left"]    = oxin.action.move_to_workspace_prev
oxin.gestures["double-tap"]    = oxin.action.solo

-- Laptop touchpad gestures, in their own `pad-` namespace.
oxin.gestures["pad-three-left"]  = oxin.action.workspace_prev
oxin.gestures["pad-three-right"] = oxin.action.workspace_next
oxin.gestures["pad-pinch-out"]   = oxin.action.fullscreen

-- Behaviour: handlers can be registered repeatedly and run in order. If one
-- raises it is reported and the rest still run.
local function autostart(cmd)
  oxin.on.startup(function() oxin.spawn(cmd) end)
end
autostart("patin")

oxin.on.window(function(w)
  -- nil = not mine, carry on. A table = do this instead.
  if w.app_id == "pavucontrol" then return { float = true } end
  if w.app_id == "firefox"     then return { workspace = 2 } end
end)

-- A terminal one key hides and brings back, running whatever it runs.
oxin.scratchpads["term"] = { cmd = "kitty --class term -e ~/bin/mytool" }
oxin.keys["MOD+grave"]   = oxin.action.scratchpad("term")

-- A remote desktop or VM window can have every key; see "Remote desktop".
oxin.shortcuts_inhibit      = true    -- grant it when the window asks (default)
oxin.virtual_keyboard_binds = false   -- virtual keyboards only type (default)

Scratchpads

A scratchpad is a floating window that one key hides and brings back, with its program running the whole time — a terminal, or a tool of your own running in one.

oxin.scratchpads["term"] = {
  cmd      = "kitty --class term -e ~/bin/mytool",  -- required
  app_id   = "term",       -- optional, defaults to the name
  position = "center",     -- "center" (default) or "top" (a drop-down)
  size     = { 60, 60 },   -- % of the usable area
}
oxin.keys["MOD+grave"] = oxin.action.scratchpad("term")

The first press runs cmd. After that, a press hides the scratchpad when it has focus, shows it again when hidden, focuses it when it is shown but something else has focus, and brings it over when it is on another workspace or monitor. While shown it is an ordinary floating window on the workspace you showed it on. Its window is recognised by app_id, so cmd has to set one (kitty --class, foot --app-id); a dialog it opens, or a second window with the same app_id, is an ordinary window. Without a size, a centered scratchpad uses float_size and a drop-down is full width and 40% high. Closing it (Mod+Q, or its program exiting) ends it, and the next press starts a fresh one. Any number can be defined, and gestures can toggle them too; 0xinctl scratchpad term does the same from a script or a bar.

Remote desktop

The remote machine doesn't matter: Windows, an Ubuntu desktop (GNOME's built-in Remote Desktop), an X11 box running xrdp, or another Wayland desktop all speak the same RDP. What matters is that the viewer runs in 0xin and gets the keyboard. Remmina and FreeRDP's SDL client (sdl-freerdp) are native Wayland apps and run as they are.

While a viewer has focus, Super and your 0xin chords should reach the remote machine rather than 0xin. A viewer that grabs the keyboard asks for exactly that (keyboard-shortcuts-inhibit), and 0xin grants it: every key goes to that window for as long as it has focus. One chord stays 0xin's, the way back out:

oxin.keys["CTRL+ALT+Escape"] = oxin.action.pass_keys  -- the default

pass_keys takes the keys back from a window that has them (the viewer is told, so a "keyboard grabbed" indicator stays right), gives them again on the next press, and also works on a window that never asked — a viewer without a keyboard grab, say. It is not on Mod by default because the remote machine already saw Super go down; Windows would open its Start menu each time you leave. Each change is published on the event socket as passkeys>>on / passkeys>>off (0xinctl events), so a bar can show it, and Ctrl+Alt+F1…F12 still switches virtual terminals whatever has the keys.

oxin.shortcuts_inhibit = false makes a window's request wait for a pass_keys press instead of being granted straight away.

Keys from a virtual keyboard (an on-screen keyboard, or the server side of a remote-desktop connection into this machine) only type by default. With oxin.virtual_keyboard_binds = true they trigger bindings too, so a remote user can drive the tiling.

Reaching this machine

0xin speaks the standard protocols a remote-desktop server is built on: screen capture (ext-image-copy-capture, and the older wlr-screencopy), a virtual pointer and keyboard for the remote user's input, and data-control for keeping the clipboard in sync — the same ones that let wl-copy/wl-paste and clipboard managers work without a window of their own. Until 0xin's own RDP server lands, wayvnc works as it is:

wayvnc 0.0.0.0 5900        # then connect with any VNC viewer (Remmina does VNC too)

wayvnc has no password unless you give it a config file; on anything but a trusted network, set one up (see man wayvnc) or tunnel it over SSH.

A remote viewer can also get a monitor of its own — one that exists only for the connection, next to whatever is plugged in:

0xinctl headless-output add 1920x1080   # appears as HEADLESS-1, with its own workspace
wayvnc --output=HEADLESS-1 0.0.0.0 5900
0xinctl headless-output remove HEADLESS-1

It is placed like any monitor (oxin.monitors["HEADLESS-1"] = { … } to pin it), so the pointer can wander onto it from your screen.

Gestures

Touchscreen and touchpad triggers are separate families, because the devices do not offer the same gestures. Touchscreen triggers are about where a finger lands — bottom-up, edge-left-in, top-down, to-top — plus multi-finger swipes (two-left, three-up, …) and double-tap.

Touchpad triggers are pad-three-left/right/up/down and pad-pinch-in/out. They start at three fingers because libinput treats two fingers on a touchpad as scrolling and delivers axis events instead, and pinch is its own event type rather than a swipe. The edge triggers have no touchpad equivalent: they describe a relationship to the screen.

Both families reach the same actions, so a config can bind the same behaviour to whichever device a machine has. Any touchpad gesture you do not bind is forwarded to the focused window, so an application's own pinch-to-zoom keeps working.

A config that raises is reported with its file and line and 0xin starts on the built-in defaults — it never refuses to start. 0xinctl config-error repeats the message once you are in. A config that loops forever is stopped by a fuel budget and a wall-clock deadline rather than hanging the session. See init.lua.example for the full annotated example.

Live reload

Saving init.lua, or any .lua file under a plugin/, after/plugin/ or lua/ directory, reloads the config into the running session: change oxin.gap, save, and the windows re-tile. 0xinctl reload and oxin.action.reload do the same on demand. A save that fails to load is reported (and kept for 0xinctl config-error), and the session keeps the config it was already running, so a typo mid-edit costs nothing. on.startup handlers are not run again, and oxin.monitors applies when a monitor next connects.

Plugins

Config somebody else wrote drops in as a directory, following neovim's layout: an ordered runtimepath (/etc/xdg/0xin, then ~/.config/0xin), each root with plugin/ (run at startup, alphabetically), lua/ (only answers require) and after/plugin/ (runs last, so overriding a plugin is not editing it). Packages live at pack/<any>/start/<name>/. Load order is init.lua, then plugin/, then after/. One plugin raising does not stop the others, and --noplugin (or OXIN_NOPLUGIN=1) starts without any.

PNG and JPEG wallpapers are decoded by 0xin itself and cover-scaled per output; no external wallpaper program is required. Change or clear the running wallpaper without restarting:

0xinctl wallpaper ~/Pictures/another.png
0xinctl wallpaper clear

Runtime changes last until 0xin exits. Set wallpaper = in the config to make the selection persistent across sessions.

Toggle a scratchpad — from a bar button or a script — exactly as its key does:

0xinctl scratchpad term

Re-read the config without waiting for a save (see Live reload):

0xinctl reload

End the running compositor cleanly (and return to its login/session chooser) with:

0xinctl quit

Query workspace state — which workspace each output is showing, and every workspace that exists, whether it has windows and which output it belongs to — for building status bars and scripts:

0xinctl workspaces
ok
output eDP-1 1
output HDMI-A-1 3
workspace 1 occupied eDP-1
workspace 2 occupied eDP-1
workspace 3 empty HDMI-A-1

Workspaces are made on demand and dropped when empty and off screen, so the numbers can have gaps, and only one that is on screen can be empty.

0xin implements ext-session-lock-v1 for secure lock clients such as Patin's touch-capable patin-lock or swaylock. Accepting a lock immediately covers every output with an opaque compositor fallback and routes input exclusively to the lock client. If that client crashes without unlocking, the fallback remains and the desktop stays inaccessible.

Application windows can reveal that background with window_opacity, where 1.0 is fully opaque (the default) and 0.0 is fully transparent. The value applies to XDG application toplevels on any supported Wayland device; layer-shell surfaces such as panels, Patin, and virtual keyboards are left fully opaque.

corner_radius (pixels, 0 = disabled, the default) rounds tiled/floating window corners with real per-pixel masking — a compositor-owned GLES2 shader renders each window through a rounded-rect mask, so it looks correct over a wallpaper image, another window, or a reduced window_opacity, not just a flat background color. Fullscreen windows are unaffected. This costs a real extra GPU pass per commit of every masked window while enabled.

Because the mask is a GLES2 shader, it needs wlroots' GLES2 renderer — wlroots picks a renderer on its own, and on a Vulkan or pixman session corner_radius has no effect and says so once in the log. WLR_RENDERER=gles2 forces it. See Stage 26 for the full tradeoffs.

border_width (pixels, 0 = none, the default) draws a frame around tiled and floating windows: border_color_focused on the window that has keyboard focus, border_color_unfocused on every other one. It follows the rounded corners when corner_radius is in effect, and is square otherwise (including when the renderer isn't GLES2). A tiled window gives up the border's width on each side of its tile, so gap stays the space between two borders. Fullscreen windows have no border. The border is drawn by the scene graph rather than a shader, so it works on every renderer and costs nothing per frame. It only changes when a window resizes or focus moves.

focus_follows_mouse = true gives keyboard focus to the window the pointer enters, as a click would. Only entering a different window counts, so moving the mouse inside a window, or across a gap, never undoes focus you moved with the keyboard. Holding a button (a text selection, a drag) keeps focus where the press was. Bars, popups and an on-screen keyboard are never focused by hover, and hover never takes focus from a lock screen or a focused layer surface such as a launcher. Off by default: click to focus.

Mod + left-drag on a tiled window picks it out of its place. Drop it near an edge of another window and that window splits, the dragged one taking that side: left, right, top or bottom. Drop it in another window's middle and the two trade places. Drop it on an empty monitor and it fills that monitor. This works within a workspace and across monitors alike. While you drag, the window stays where it is and a translucent box in the focus-border colour shows exactly where it will land; letting go over a gap, or over the window itself, leaves everything as it was.

oxin.tile_drag chooses what is on offer: sides lists the edges, e.g. { "left", "right" } for side-by-side only, and replace = false drops the trading of places, so the whole window splits toward its nearest offered edge. With no sides and no replace — or oxin.tile_drag = false — it is off, and Mod + click on a tiled window reaches the app.

Mod + right-drag on a tiled window moves its edges with the mouse: left and right move the edge it shares with the window beside it, up and down the one it shares with the window above or below. Every window on either side of that edge follows — in A | (B over C), dragging B left widens B and C together, and dragging it down grows B into C. Where a window has a neighbour on both sides, the edge nearer where you grabbed it moves; an edge that is the screen's stays put. oxin.tile_resize = false turns it off, and Mod + right-click on a tiled window then reaches the app.

0xin also implements wlr-output-power-management-unstable-v1, so a client can request a real DPMS power-off/on per output — independent of, and usable alongside, the session-lock cover above. wlroots handles the wire protocol; 0xin just applies the on/off it reports and forces a repaint when an output comes back on so windows that were visible before power-off reappear correctly.

Repository layout

Path What it is
src/main.rs Compositor orchestrator + all policy (layout, workspaces, input, keybindings)
src/config/ Config vocabulary, built-in keymap, key/modifier name resolution
src/lua/ Embedded Lua: VM, the oxin module, registrars, events, plugins
src/wallpaper.rs Internal PNG/JPEG decoder + wlroots wallpaper buffers
src/control.rs Local runtime-control socket
src/reload.rs, src/config_watch.rs Live config reload, and the inotify watcher that triggers it on save
src/bin/0xinctl.rs Runtime control command
shim/oxide_shim.{c,h} Thin C shim: wlroots listener glue + struct access
build.rs, wrapper.h The FFI pipeline (pkg-config, wayland-scanner, cc, bindgen)
notes/ Architecture, toolchain, and run/verify notes (working reference)
docs/, book.toml The mdBook doc site source — narrative chapters + phase build log
KICKOFF.md The project's mission and learning-first working rules

0xin is a personal, learning-first project — built concept-by-concept with every file and function understood rather than assembled. Its working rules live in KICKOFF.md. No license yet!

About

wayland window manager/compositor in rust using wlroots

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages