docs(nix): refine style rule wording
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
### Rule
|
||||
|
||||
When adding a graphical application, register its window-class match and rendered icon in `registry.window-icon`.
|
||||
Each graphical application has a `registry.window-icon` entry with a window-class match and rendered icon.
|
||||
|
||||
### Rationale
|
||||
|
||||
Hyprland uses this registry to render workspace icons for open application windows.
|
||||
|
||||
### Examples
|
||||
### Find window classes
|
||||
|
||||
Run this command to list window classes from the running compositor:
|
||||
|
||||
@@ -20,13 +20,13 @@ hyprctl clients -j | jq -r '.[].class' | sort -u
|
||||
|
||||
### Rule
|
||||
|
||||
Make each guest module a wrapper around its service module.
|
||||
Enable the service module through `guests.<name>.interior`.
|
||||
Keep service configuration in `modules.services.<name>`.
|
||||
Use the guest module to pass paths and secret files to the service module.
|
||||
Use the guest module to configure bind mounts, resource limits, and registry entries.
|
||||
Keep guest modules independent of hosts.
|
||||
Put host paths, served volumes, guest addresses, and routes in host configuration.
|
||||
Each guest module wraps its service module.
|
||||
Guest modules enable service modules through `guests.<name>.interior`.
|
||||
Service modules contain service configuration.
|
||||
Guest modules pass paths and secret files to service modules.
|
||||
Guest modules configure bind mounts, resource limits, and registry entries.
|
||||
Guest modules remain independent of hosts.
|
||||
Host configuration provides paths, served volumes, guest addresses, and routes.
|
||||
|
||||
### Rationale
|
||||
|
||||
|
||||
Reference in New Issue
Block a user