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