From 2fa3cec1eda811f969c32ba185357d75a4497f6a Mon Sep 17 00:00:00 2001 From: pongsn Date: Mon, 15 Jun 2026 02:54:51 -0500 Subject: [PATCH] Remove /tst/ from install path; document enable/disable in README - wallaura.service: update ExecStart from %h/tst/wallaura to %h/wallaura - README: fix clone/symlink paths to match new location - README: add systemctl enable/disable commands with --now shorthand examples Co-Authored-By: Claude Sonnet 4.6 --- README.md | 24 +++++++++++++++++++----- wallaura.service | 2 +- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8ba0c46..d931cb9 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ sudo apt install python3-dbus python3-gi python3-pil ### 1. Clone the repository ```bash -git clone ~/tst/wallaura -cd ~/tst/wallaura +git clone https://github.com/pongsn/wallaura.git ~/wallaura +cd ~/wallaura ``` ### 2. Make the script executable @@ -55,7 +55,7 @@ chmod +x wallaura.py ### 3. Add to PATH ```bash -ln -sf ~/tst/wallaura/wallaura.py ~/.local/bin/wallaura +ln -sf ~/wallaura/wallaura.py ~/.local/bin/wallaura ``` Verify it is found: @@ -83,13 +83,27 @@ The service starts automatically on graphical login. The daemon is managed via systemctl: ```bash -systemctl --user start wallaura # start -systemctl --user stop wallaura # stop +systemctl --user start wallaura # start now +systemctl --user stop wallaura # stop now systemctl --user restart wallaura # restart (pick up code changes) systemctl --user status wallaura # show running status journalctl --user -u wallaura -f # live log output ``` +To enable or disable automatic startup on login: + +```bash +systemctl --user enable wallaura # start automatically on login +systemctl --user disable wallaura # stop starting automatically on login +``` + +Enabling and disabling does not start or stop the currently running service — combine with `start`/`stop` if needed: + +```bash +systemctl --user disable --now wallaura # disable and stop immediately +systemctl --user enable --now wallaura # enable and start immediately +``` + ### Brightness wallaura applies software brightness scaling to the extracted colors, giving smooth control across the full 0–100% range. diff --git a/wallaura.service b/wallaura.service index 06febbc..9149d42 100644 --- a/wallaura.service +++ b/wallaura.service @@ -6,7 +6,7 @@ PartOf=graphical-session.target [Service] Type=simple -ExecStart=%h/tst/wallaura/wallaura.py +ExecStart=%h/wallaura/wallaura.py Restart=on-failure RestartSec=5 # Forward journal logs with a tag