diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-29 10:40:57 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-29 10:40:57 +0200 |
| commit | a955a93101aae45bca030c4ea9074ddda86a2fc9 (patch) | |
| tree | 6ed641634a51eca252d5912de7593f9f8f2347e8 /README.md | |
| parent | a08ffb69ac7553350e1e5259bb0101ea997a70ae (diff) | |
| download | grub-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.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |
