Lily Tsuru 753164b393 | ||
---|---|---|
cmake | ||
doc | ||
src | ||
third_party | ||
.clang-format | ||
.editorconfig | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
LICENSE | ||
README.md |
README.md
nanosm
A nano-sized not-really-a session manager intended to replace less-than-robust Bash/etc scripts.
Written in C++20, using epoll (without helper libraries), to stay nice and smol (Yes I know io_uring exists, but using it for something tiny that literally just waits and restarts processes would be far more overkill).
Why write this?
Because app &
then exec wm
is impressively awful. What if your WM crashes, or your panel? Guess you lose them!
And if your WM crashes? Your whole xorg server goes with it, meaning so does everything else.
A more robust solution that's still small and easy to setup (read: Not written in bash) is clearly a better idea.
Installation
TODO
Configuration
- Copy
/usr/share/doc/nanosm/nanosm.toml
to~/.config/nanosm/
and edit it to your liking. - Add
exec nanosm
to the end of your.xinitrc
.