chore(wallpaper_manager): readme

This commit is contained in:
Lucas Vivo committed 2026-11-20 20:42:12 +01:00
1 parent 8b7d92d97b
commit de588adc05
1 file changed
+15
+15
View File
@@ -6,6 +6,21 @@ Select a folder mode with `--mode default|x|i` (shortcuts `-d`, `-x`, and `-i`);
Use `--disable-encryption` to build a wallpaper from a folder without encrypting files or decrypting images or the naming table. Encrypted image payloads are skipped; `.jpg_enc` files are included only when they contain plain JPEG data.
Encryption uses the passphrase in `~/.wallpaper/encryption.passphrase` and all
new data is encrypted with that value. Generate it once and share the same file
across hosts that access the same wallpaper repository:
```sh
openssl rand -base64 32 > ~/.wallpaper/encryption.passphrase
chmod 600 ~/.wallpaper/encryption.passphrase
```
Use `--passphrase-file PATH` to select another file. The legacy
PEM private key option and fallback are not supported.
The encrypted naming table is updated after each image is encrypted.
Plaintext images are removed only after the batch completes successfully.
### Run as a GNOME user service
The systemd user unit runs in the graphical session, which is required by GNOME's `gsettings`. It starts the launcher at `~/tools/wallpaper_changer`; the Python checkout now lives at `~/scripts/python/wallpaper_changer`. If you run directly from the checkout, update `ExecStart` in `systemd/wallpaper-changer.service` to use that checkout. The unit changes the wallpaper every 60 minutes by default; edit `--minutes` to change the interval.