aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-17 14:52:16 +0200
committerDanilo M. <danix@danix.xyz>2026-09-17 14:52:16 +0200
commite89b6eb1eda0f412935e3e0cf6c53c84f00a483d (patch)
tree114f0c732bab7a0e610e9a40ece68116fd5f21b4 /README.md
parentb1e9891f195c39b1e288f2da3a0dbff78ac1b73b (diff)
downloadsddm-theme-udt-e89b6eb1eda0f412935e3e0cf6c53c84f00a483d.tar.gz
sddm-theme-udt-e89b6eb1eda0f412935e3e0cf6c53c84f00a483d.zip
docs: give the root-shell install block, no sudo
This system is administered from a root shell, not sudo. In that shell $HOME is root's, so the theme.conf.user symlink uses the login user's literal home path instead, with a note on why.
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/README.md b/README.md
index b9b76f3..968d8e0 100644
--- a/README.md
+++ b/README.md
@@ -39,17 +39,17 @@ when a theme has no match, the bundled `theme/icons/*.svg` draw instead.
## Install
The theme code is copied by root, then SDDM is pointed at it. Both are one-time
-root edits. Run them with `sudo` from your own shell, so `$HOME` is your home,
-not root's; in a root shell write the full path instead:
+root edits; run them in a root shell:
- sudo install -d /usr/share/sddm/themes/udt
- sudo cp -r <this repo>/theme/. /usr/share/sddm/themes/udt/
- sudo rm -f /usr/share/sddm/themes/udt/components/LoginCard.qml
- sudo ln -sfn "$HOME/.local/share/udt/sddm-theme.conf" /usr/share/sddm/themes/udt/theme.conf.user
+ install -d /usr/share/sddm/themes/udt
+ cp -r <this repo>/theme/. /usr/share/sddm/themes/udt/
+ rm -f /usr/share/sddm/themes/udt/components/LoginCard.qml
+ ln -sfn /home/you/.local/share/udt/sddm-theme.conf /usr/share/sddm/themes/udt/theme.conf.user
-The symlink must point at your home. If it points at `/root`, the greeter finds
-no live config and silently falls back to the static `theme.conf` palette and
-the bundled power icons.
+Replace `/home/you` with the login user's home. In a root shell `$HOME` is
+root's, so the symlink must be the literal path; if it points at `/root`, the
+greeter finds no live config and silently falls back to the static `theme.conf`
+palette and the bundled power icons.
Select the theme by setting `Current=udt` under `[Theme]` in `/etc/sddm.conf`.
That file has the highest precedence in SDDM's config order