This guide installs awww, sets up its background daemon so it starts at login, and keeps it running with auto-restarts.
1) Install awww
sudo pacman -S awww-git
Verify:
command -v awww
command -v awww-daemon
2) Create the systemd user service (keeps the daemon running)
Create ~/.config/systemd/user/awww-daemon.service:
[Unit]
Description=awww daemon
PartOf=graphical-session.target
After=graphical-session.target
[Service]
ExecStart=/usr/bin/awww-daemon
Restart=always
RestartSec=1
[Install]
WantedBy=default.target
3) Add a small override file for Wayland
First, find your Wayland display name:
echo "$WAYLAND_DISPLAY"
Now create ~/.config/systemd/user/awww-daemon.service.d/override.conf using that value:
[Service]
Environment=WAYLAND_DISPLAY=wayland-1
Environment=XDG_RUNTIME_DIR=/run/user/%U
Replace wayland-1 with the value you just printed.
4) Enable and start the daemon (auto-start + auto-restart)
systemctl --user daemon-reload
systemctl --user enable --now awww-daemon.service
Check:
systemctl --user status awww-daemon.service --no-pager
At this point the awww-daemon will start automatically when you log in, and it will restart if it crashes (because of Restart=always and RestartSec=1 in the service file).
5) Quick manual test (basic animation)
Run this to set a wallpaper with a basic animation:
awww img "/path/to/your/wallpaper.jpg" --transition-type grow --transition-duration 1.0
Enjoy!!
A little support goes a long way! If you’d like to help me keep creating, you can do so at https://ko-fi.com/oldjobobo