2019-05-12 21:44:41 +01:00
# labwc
2020-07-08 16:57:41 +01:00
Labwc is a [WIP] free, stacking compositor for Wayland and has the following aims:
2020-07-07 21:45:44 +01:00
- Be light-weight, small and fast
- Have the look and feel of Openbox
2020-06-05 21:07:05 +01:00
- Where practicable, use other software to show wall-paper, take screenshots,
2020-07-07 21:45:44 +01:00
and so on
2019-05-12 21:44:41 +01:00
2020-07-08 16:57:41 +01:00
It is in early development, so expect bugs and missing features.

## Table of Contents
2020-07-06 21:58:51 +01:00
- [Dependencies ](#dependencies )
- [Roadmap ](#roadmap )
- [Inspiration ](#inspiration )
- [Design ](#design )
- [Configuration ](#configuration )
- [Integration ](#integration )
- [Build ](#build )
2019-05-12 21:44:41 +01:00
2020-06-29 21:32:53 +01:00
## Dependencies
2020-05-30 21:28:17 +01:00
2020-07-18 11:42:16 +01:00
Runtime dependencies include wlroots (>=0.10.0), wayland-protocols,xwayland,
2020-06-29 21:32:53 +01:00
libxml2, glib-2.0, cairo and pango.
2020-05-30 21:28:17 +01:00
2020-06-05 21:07:05 +01:00
## Roadmap
2020-05-18 21:01:01 +01:00
2020-05-22 21:13:43 +01:00
- [x] Support xwayland
2020-06-19 22:09:29 +01:00
- [x] Parse [rc.xml ](data/rc.xml )
2020-08-03 20:56:38 +01:00
- [x] Parse [themerc ](data/themes/labwc-default/openbox-3/themerc )
2020-06-29 21:32:53 +01:00
- [x] Read xbm icons
2020-07-18 11:42:16 +01:00
- [x] Show maximize, minimize, close buttons
- [ ] Give actions to maximize, minimize, close buttons
2020-06-19 22:09:29 +01:00
- [ ] Add grip
- [ ] Support layer-shell background (e.g. using swaybg)
- [ ] Draw better alt-tab rectangle
- [ ] Try restarting and consider catching SIGHUP for --reconfigure
- [ ] Implement client-menu
- [ ] Implement root-menu
2020-05-18 21:01:01 +01:00
2020-07-09 22:41:54 +01:00
For further details see [wiki/Roadmap ](https://github.com/johanmalm/labwc/wiki/Roadmap ).
2020-06-29 21:32:53 +01:00
## Inspiration
2020-05-18 21:01:01 +01:00
2020-06-29 21:32:53 +01:00
Labwc has been inspired and inflenced by [openbox ](https://github.com/danakj/openbox ), [sway ](https://github.com/swaywm/sway ), [cage ](https://www.hjdskes.nl/blog/cage-01/ ), [wio ](https://wio-project.org/ ) and [rootston ](https://github.com/swaywm/rootston )
2020-05-18 21:01:01 +01:00
2020-06-29 21:32:53 +01:00
## Design
2020-05-10 20:10:36 +01:00
2020-06-29 21:32:53 +01:00
Labwc is based on the wlroots library.
2020-05-10 20:10:36 +01:00
2020-06-29 21:32:53 +01:00
The following were considered before choosing wlroots: [QtWayland ](https://github.com/qt/qtwayland ), [grefsen ](https://github.com/ec1oud/grefsen ), [Mir ](https://mir-server.io ) and [egmde ](https://github.com/AlanGriffiths/egmde ).
2020-05-10 20:10:36 +01:00
2020-05-21 20:28:57 +01:00
## Configuration
2020-05-10 20:10:36 +01:00
2020-08-03 20:56:38 +01:00
See [rc.xml ](data/rc.xml ) and [themerc ](data/themes/labwc-default/openbox-3/themerc ) comments for details including keybinds.
2020-07-18 11:42:16 +01:00
2020-07-28 21:35:55 +01:00
Suggest either copying data/rc.xml to ~/.config/labwc/running, or running with:
2020-07-18 11:42:16 +01:00
./build/labwc -c data/rc.xml
2020-05-21 20:28:57 +01:00
## Integration
2020-05-18 21:01:01 +01:00
2020-06-08 19:49:19 +01:00
Suggested apps:
2020-08-14 10:14:39 +02:00
- [grim ](https://github.com/emersion/grim ) - screenshots
2020-05-18 21:01:01 +01:00
2020-05-21 20:28:57 +01:00
## Build
2020-07-07 21:45:44 +01:00
meson build & & ninja -C build
2020-05-21 20:28:57 +01:00
2020-07-28 21:35:55 +01:00
For further details see [tools/build ](tools/build ) and [wiki/Build ](https://github.com/johanmalm/labwc/wiki/Build ).
2020-07-07 21:45:44 +01:00