diff --git a/src/skills/style/nix/rules/dotfiles.md b/src/skills/style/nix/rules/dotfiles.md index 897c3b5..94b2a87 100644 --- a/src/skills/style/nix/rules/dotfiles.md +++ b/src/skills/style/nix/rules/dotfiles.md @@ -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..interior`. -Keep service configuration in `modules.services.`. -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..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