1
0
Fork
You've already forked tinyrwm
0
forked from river/tinyrwm
Tiny river window manager examples
  • Rust 23.9%
  • C 20.7%
  • Zig 19%
  • Lua 13.7%
  • Go 11.7%
  • Other 11%
2026年07月08日 12:09:01 +03:00
.builds ci: add zig 2026年07月08日 12:09:01 +03:00
c
go
janet
LICENSES
lua
rust
zig zig: add implementation 2026年07月08日 12:09:01 +03:00
README.md

tinyrwm

A tiny river window manager, implemented in various languages.

This project aims to help people quickly get started with their own river window manager by following an example in their language of choice.

Contributions adding implementations in new languages are very welcome, as are contributions simplifying or otherwise improving existing implementations!

All tinyrwm implementations should:

  • Implement the same tiny feature set
  • Be written in the style most idiomatic to their language
  • Use the standard build/packaging approach for the given language ecosystem
  • Be released under the Zero-Clause BSD license

Happy hacking!

Tiny feature set

Keyboard bindings:

  • Super+Space: Spawn the foot terminal
  • Super+q: Close the focused window
  • Super+n: Cycle keyboard focus through windows
  • Super+Escape: Exit the Wayland session

Pointer bindings:

  • Super+Left Click: Interactive move
  • Super+Right Click: Interactive resize

Additionally, clicking on a window must give the window keyboard focus and raise it above all other windows.

This is not a formal specification, tinyrwm.c is the canonical implementation and its behavior should be matched where this specification is unclear/insufficient.