aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-29 10:42:46 +0200
committerDanilo M. <danix@danix.xyz>2026-09-29 10:42:46 +0200
commitd0c8cb8295709c0f73295a43c1f5a2dd0cbed385 (patch)
tree56322aa4ad83c237907dfda55d5e0af464988b1e
parenta955a93101aae45bca030c4ea9074ddda86a2fc9 (diff)
downloadgrub-theme-udt-d0c8cb8295709c0f73295a43c1f5a2dd0cbed385.tar.gz
grub-theme-udt-d0c8cb8295709c0f73295a43c1f5a2dd0cbed385.zip
README: set the title with udt-machine-name
Writing /etc/machine-info with echo would drop its other keys. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index fd7a6c4..e49049a 100644
--- a/README.md
+++ b/README.md
@@ -14,9 +14,9 @@ of `~/.cache/udt/wpaper`. Both outputs are gitignored.
The panel title is the machine's pretty name, `PRETTY_HOSTNAME` in
`/etc/machine-info`, or the OS name from `/etc/os-release` when that is not
-set. To set it, as root:
+set. udt's `udt-machine-name` sets it, keeping any other keys in the file:
- echo 'PRETTY_HOSTNAME="My Machine"' > /etc/machine-info
+ sudo udt-machine-name "My Machine"
The accent is the scheme's fixed `accent` role, not the wallpaper-tracking
one: nothing at boot can read that.