nauka is a small and minimal Wayland compositor with all the eye candy one needs.
- lightweight & fast: minimal footprint, builds in seconds.
- tags: each window has its assigned tags.
- layouts: various layouts like master, grid and scroller
- ipc: query toplevels, layers and outputs, or subscribe to events
- eye-candy: border radius, opacity, and blur are everything one needs.
- animations: fluid window animations with barely any overhead.
- hot reload config: easy configuration language.
- meson *
- ninja *
- wayland-protocols *
- wayland
- wlroots
- libinput
- libdrm
- pixman
- libxkbcommon
- libseat
- scenefx
> * compile-time dependencies
latest version
yay -S naukagit main version
yay -S nauka-gitgit clone https://github.com/shadowash8/nauka
cd nauka
meson setup build
ninja -C buildYou may also choose to specify an init system. Supported systems are systemd and dinit:
-Dinit= # For no init files
systemd # Systemd only [Default]
dinit # Dinit only
systemd,dinit # Systemd and dinitnauka [--session] [-s] [-c path]
-s for startup script
--session for automated dbus population
-c,--config for specifying an alternative config fileconfiguration is loaded from:
$XDG_CONFIG_HOME/nauka/nauka.conf$HOME/.config/nauka/nauka.conf
if no configuration file is found, nauka will use its built-in defaults.
for an example configuration, see default.conf in the repository.
the configuration file supports hot reloading, so changes can be applied without restarting nauka.
nauka exposes a small line-based Unix-socket IPC. The socket lives at
$XDG_RUNTIME_DIR/nauka-ipc.sock by default; set NAUKA_IPC_SOCKET to
override it for both the compositor and the client.
nauka-ipc toplevels # app_id<TAB>title, one per line
nauka-ipc layers # layer namespace, one per line
nauka-ipc outputs # output name, one per line
nauka-ipc subscribe # snapshot, then live eventssubscribe prints a subscribed line, a snapshot of the current state,
then events as they happen:
toplevel new <id> <tag> <app_id><TAB><title>
toplevel title <id> <app_id><TAB><title>
toplevel focus <id> <app_id><TAB><title>
toplevel tag <id> <tag>
toplevel state <id> <floating> <fullscreen> <sticky>
toplevel destroy <id>
tag <tag>
layout <tag> <grid|master|scroller>
output new <name>
output destroy <name>
layer new <id> <namespace> <output>
layer destroy <id>
add nauka input to flake file
nauka = {
url = "git+https://github.com/shadowash8/nauka";
inputs.nixpkgs.follows = "nixpkgs";
};then add the package to system packages
inputs.nauka.packages.${pkgs.stdenv.hostPlatform.system}.defaultoptionally you can add nauka as a display manager session package
services.displayManager.sessionPackages = [
inputs.nauka.packages.${pkgs.stdenv.hostPlatform.system}.default
];