name shrub/tohu
description floating wm for swc
last change 2026-08-05
clone url
https://srcdump.net/shrub/tohu.git

commit briefs

7c33428
shrub  ·  2026-08-05
main
999c916
shrub  ·  2026-06-21
1e30001
shrub  ·  2026-05-23
ff0b0d1
shrub  ·  2026-05-09
a965202
shrub  ·  2026-04-29
12051d8
shrub  ·  2026-04-29
cdd7c0f
shrub  ·  2026-04-29
5d4c8a4
shrub  ·  2026-04-28
9236a46
shrub  ·  2026-02-20

branches

refs

tree

readme

tohu

floating window manager/reference implemenation for neuswc

tohu is the wm i generally test new features for neuswc in, as such it is a good refrence for people to look at or fork to make their own compositor. it's a simple floating window manager, with server side decoration support.

build

tohu builds using the ninja build system:

ninja
sudo ninja install

binds

mod+enter to create terminal

mod+d to run launcher

mod+q to close window

mod+m1 to move

mod+m3 to resize

mod+f to fullscreen

mod+number to workspace

customize in source/config.h

decor

you can customize decor in source/config.h. this includes size, text position, text font etc. the default decor uses the decor parts from assets/, converted the format neuswc needs using the png2swc.py script. if you make/find other window decor that is in a similar format, you can use that script to generate the headers swc needs from it. you can also do solid color decor with no parts.

credits

tohu was originally forked from wsxwm

neuswc is a fork of swc by michael forney