docs: document XKB layout indicator, live session replacement, and ANODE DE/WM identity
This commit is contained in:
1 parent
158345c168
commit
72b05b650e
5 files changed
+64
-5
No files matched your search
+2
-2
@@ -4,9 +4,9 @@ ANODE supports i3-style session-specific autostart directives paired with per-pr
|
||||
|
||||
## Startup lifecycle
|
||||
|
||||
- `anode-session` exports `XDG_CURRENT_DESKTOP=ANODE`, `XDG_SESSION_DESKTOP=anode`, `DESKTOP_SESSION=anode`, and `ANODE_SESSION_PROFILE` when `--profile NAME` or `--profile=NAME` is passed.
|
||||
- `anode-session` scrubs stale third-party DE environment variables, exports `XDG_CURRENT_DESKTOP=ANODE`, `XDG_SESSION_DESKTOP=anode`, `DESKTOP_SESSION=anode`, `XDG_SESSION_TYPE=x11`, and `ANODE_SESSION_PROFILE` when `--profile NAME` or `--profile=NAME` is passed, and supports `--replace` and `--no-autostart`.
|
||||
- On first session launch, `anode-session` creates `~/.config/anode/autostart.d/` and copies `PREFIX/share/anode/autostart` (falling back to `data/autostart` in source checkouts) to `~/.config/anode/autostart` if absent.
|
||||
- Once `dwm` advertises `_NET_SUPPORTING_WM_CHECK` on the root window (polled with `xprop` for up to 2 s, falling back to `sleep 1`), `anode-session` launches `anode-autostart start` in the background.
|
||||
- Unless `--no-autostart` is passed, once `dwm` advertises `_NET_SUPPORTING_WM_CHECK` whose `_NET_WM_NAME` contains `ANODE` (polled with `xprop` for up to 5 s, falling back to `sleep 1`), `anode-session` launches `anode-autostart start` in the background.
|
||||
- Pressing `Mod4 + Shift + r` (`reloadxres` with `arg->i = 1`) or sending `SIGHUP` to `dwm` (live `execvp` restart carrying `ANODE_DWM_RESTARTED=1`) triggers `anode-autostart reload`, re-running only `exec_always` entries. Background theme/DPI reloads via `SIGUSR1` or `XA_RESOURCE_MANAGER` pass `NULL` and do not re-trigger `anode-autostart reload`.
|
||||
|
||||
## Declarative directives
|
||||
|
||||
Reference in new issue
Block a user