aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-29 10:40:57 +0200
committerDanilo M. <danix@danix.xyz>2026-09-29 10:40:57 +0200
commita955a93101aae45bca030c4ea9074ddda86a2fc9 (patch)
tree6ed641634a51eca252d5912de7593f9f8f2347e8 /README.md
parenta08ffb69ac7553350e1e5259bb0101ea997a70ae (diff)
downloadgrub-theme-udt-a955a93101aae45bca030c4ea9074ddda86a2fc9.tar.gz
grub-theme-udt-a955a93101aae45bca030c4ea9074ddda86a2fc9.zip
Title the panel with the machine's pretty name
Read PRETTY_HOSTNAME from /etc/machine-info, falling back to NAME from /etc/os-release. The name stays on the machine rather than in the repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 104863d..fd7a6c4 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,12 @@ assembles the complete theme in `dist/udt/`: `theme.txt`, the PNG slices in
the same colours, the `.pf2` fonts and `background.jpg`, a GRUB-readable copy
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:
+
+ echo 'PRETTY_HOSTNAME="My Machine"' > /etc/machine-info
+
The accent is the scheme's fixed `accent` role, not the wallpaper-tracking
one: nothing at boot can read that.