ANODE is a lightweight, keyboard-first, cross-Unix X11 desktop environment for **Linux, FreeBSD, OpenBSD, and NetBSD**. It aims for low memory footprint, zero busy-polling daemons, unified `.xth` theming across every toolkit, first-class XEmbed/EWMH systray integration, fractional DPI scaling, and optional touch / virtual keyboard support.
- **st (`0.9.2-anode`)**: HarfBuzz programming ligatures (`Fira Code`, defaulting to `size=13` scaled via live `Xft.dpi`), dirty-cell rendering cache, focus-gated cursor blink, explicit `St.font` override precedence with `~/.config/anode/Xresources.local`, `SIGUSR1` live reload, and portable Linux/BSD PTY handling.
- 22 normalized 96-DPI `.xth` themes (`data/themes/*.xth`) pairing `Fira Code` monospace (`theme.fontFace` for ANODE-native components and third-party monospace slots) with `Roboto` non-monospace UI typography (`theme.uiFontFace` for third-party toolkits, automatically falling back to `Noto Sans` when `Roboto` is unavailable).
-`anode-apply-scale` & `anode-apply-theme` treat `scale.conf` as authoritative over stale session environment variables and synchronize `.Xresources`, `xrdb`, `dwm`, `dmenu`, `st`, `libgemui` dialogs, `anode-vkbd`, `dunst` (`scale = 1` + `Fira Code` pixel font sizing) — keeping ANODE-native components on `Fira Code` — alongside third-party toolkits using `Roboto` / `Noto Sans` UI fonts and `Fira Code` monospace slots: GTK-2, GTK-3, GTK-4 / `libadwaita` (built-in Adwaita/Default `resource:///...` inheritance with color-only overrides and dark/light auto-detection), `xsettingsd` (with discrete Xcursor size tiers), Fontconfig `60-anode-fonts.conf` (`sans-serif` -> `Roboto`/`Noto Sans`, `monospace` -> `Fira Code`), `gsettings`, Qt5 & Qt6 (`QT_QPA_PLATFORMTHEME=gtk3:qt6ct:qt5ct` following GTK-3 with synced `qt5ct`/`qt6ct``general=` UI / `fixed=` monospace fonts & palettes), Kvantum, and Tk (`gtkTtk`) without double-scaling.
-`anode-lock`: Fullscreen X11 screen locker (maintaining stacking priority above the system tray and bar while permitting `anode-vkbd`) with `anode-checkpw` (`shadow.h` / BSD `getpwnam`, `/sbin/unix_chkpwd` non-root fallback, and root-only `chmod 4755` installation in `Makefile`).
-`anode-media-key`: Multimedia key dispatcher for volume, mic mute, brightness, MPRIS/MPD/mpv media playback, screenshots, airplane toggle, suspend, and virtual keyboard toggling.
-`anode-vkbd`: Optional EWMH dock multi-layer touch virtual keyboard (`QWERTY`, `Shift`, `Sym`, `Nav`) injecting XTest keystrokes without stealing focus.
Start ANODE from `.xinitrc` (`exec /usr/local/bin/anode-session`) or via a display manager selecting the installed `ANODE` XSession (`XSESSIONSDIR/anode.desktop`, default `PREFIX/share/xsessions/anode.desktop`; pass `XSESSIONSDIR=/usr/share/xsessions` when installing into system display managers such as LightDM). Passing `--profile NAME` (or setting `ANODE_SESSION_PROFILE`) selects a session profile for autostart.
Run `anode-replace` inside a running session to switch to ANODE cleanly. When the active window manager (such as `i3`) is the direct session child of a display manager (for instance LightDM), `anode-replace` detects the session leader so it does not tear down the X server and trigger a logout/re-login; use `sudo make XSESSIONSDIR=/usr/share/xsessions install` followed by `anode-replace --switch-session` (or pass `--keep-panels` / `--force` where appropriate). Inside ANODE itself or session-managed DEs, `anode-replace` performs a live ICCCM `WM_S<screen>` handoff (falling back to `_NET_WM_PID`), scrubs conflicting DE variables, exports `XDG_CURRENT_DESKTOP=ANODE`, and `dwm` advertises `_NET_WM_NAME = "ANODE WM"` so system tools such as `fastfetch` report `Desktop Environment: ANODE` and `Window Manager: ANODE WM (X11)` instead of `dwm`. See [docs/SESSION.md](docs/SESSION.md) for full replacement, identity, and XKB status indicator details.
`anode-session` invokes `anode-autostart start` once DWM advertises `ANODE WM` via `_NET_SUPPORTING_WM_CHECK`, seeding `~/.config/anode/autostart` from `PREFIX/share/anode/autostart` on first launch. Supported directives follow i3 conventions (`exec`, `exec_once`, `exec_always`, `--no-startup-id`, `include`), alongside per-profile files (`~/.config/anode/autostart.<profile>`), drop-in scripts or `.desktop` entries in `~/.config/anode/autostart.d/`, and `ANODE`-filtered XDG autostart entries. Pressing `Mod4 + Shift + r` or sending `SIGHUP` to DWM reloads `.Xresources`/theme/DPI and triggers `anode-autostart reload` (re-running `exec_always` entries). See [docs/AUTOSTART.md](docs/AUTOSTART.md) for full directive, profile, and XDG precedence details.