docs: document session switching, scaling, GTK theming, XDG launcher, status telemetry, and power policy

This commit is contained in:
Luxferre committed 2026-11-26 14:46:03 +02:00
1 parent 07d9134d2d
commit d351265623
5 files changed
+56 -33

No files matched your search

+4 -1
View File
@@ -16,10 +16,13 @@ Declarative rules live in `~/.config/anode/autostart` (or the file passed via `-
| Directive | Behavior |
|---|---|
| `exec [--no-startup-id] <command>` | Run `<command>` once during `anode-autostart start` |
| `exec_once [--no-startup-id] <command>` | Run `<command>` during `start` only when no process matching its executable basename is already running (checked via POSIX `ps`) |
| `exec_once [--no-startup-id] <command>` | Run `<command>` during `start` only when no matching UID-owned process is already running in the current `XDG_SESSION_ID` / D-Bus session (checked via POSIX `ps` and `/proc/<pid>/environ` when available) |
| `exec_always [--no-startup-id] <command>` | Run `<command>` during `start` and re-run on `anode-autostart reload` (`Mod4 + Shift + r` or `SIGHUP` restart) |
| `include <path>` | Load directives from another file (absolute path, `~/...`, or relative to the current file; duplicate/cyclic includes are skipped, and nesting deeper than 8 levels fails `check`) |
> [!NOTE]
> On Linux (`/proc/<pid>/environ`), `exec_once` compares `XDG_SESSION_ID` and `DBUS_SESSION_BUS_ADDRESS` against the running session so orphaned background processes left behind by dead or separate login sessions (such as `pipewire` or `redshift` across `elogind` or LightDM logins) do not suppress startup in a fresh ANODE session.
## Session profiles
Passing `--profile NAME` or `--profile=NAME` to `anode-session` or `anode-autostart` (or exporting `ANODE_SESSION_PROFILE=NAME`) loads `~/.config/anode/autostart.<profile>` (or `PREFIX/share/anode/autostart.<profile>` if no user file exists) immediately after the base `autostart` file: