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 <noreply@anthropic.com>
This commit is contained in:
parent
d88a254fbb
commit
2fa3cec1ed
2 changed files with 20 additions and 6 deletions
24
README.md
24
README.md
|
|
@ -42,8 +42,8 @@ sudo apt install python3-dbus python3-gi python3-pil
|
|||
### 1. Clone the repository
|
||||
|
||||
```bash
|
||||
git clone <repo-url> ~/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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue