main

floating wm for swc

8 L
48 L
142 L

readme

 1tohu
 2----
 3
 4floating window manager/reference implemenation for [neuswc](https://git.sr.ht/~shrub900/neuswc)
 5
 6tohu is the wm i generally test new features for neuswc in, as such it is a good refrence for 
 7people to look at or fork to make their own compositor. it's a simple floating window manager,
 8with server side decoration support.
 9
10build
11-----
12tohu builds using the ninja build system:
13```
14ninja
15sudo ninja install
16```
17
18binds
19-----
20mod+enter to create terminal
21
22mod+d to run launcher
23
24mod+q to close window
25
26mod+m1 to move
27
28mod+m3 to resize
29
30mod+f to fullscreen
31
32mod+number to workspace
33
34customize in source/config.h
35
36decor
37-----
38you can customize decor in source/config.h. this includes size, text position, text font etc.
39the default decor uses the decor parts from assets/, converted the format neuswc needs using the 
40png2swc.py script. if you make/find other window decor that is in a similar format, you can use 
41that script to generate the headers swc needs from it. you can also do solid color decor with no parts.
42
43credits
44-------
45tohu was originally forked from [wsxwm](https://git.sr.ht/~uint/wsxwm) 
46
47neuswc is a fork of [swc](github.com/michaelforney/swc) by [michael forney](https://mforney.org/)