A dependency free (using built-in Linux distribution tools, that is) mechanism to automatically publish *.txt changes when I edit them. In a nutshell, this script will use a couple of systemd user units to scp .txt files when there are changes in $HOME/Lists.
Desktop notifications when the content is updated remotely are also enabled (optinally disabled).
An up to date version of the script can be found here.
#!/bin/bash # # Automatically scp files to https://lists....
Tested on shairport-sync 3.3.8, currently available on mobian/bookworm.
The process is pretty similar to what you’d do on a Raspberry Pi.
Install and configure shairport-sync apt install shairport-sync Edit /etc/shairport-sync.conf to set the backend to pulseaudio with:
output_backend = "pa"; Create a systemd user service and start it: mkdir ~/.config/systemd/user Edit ~/.config/systemd/user/shairport-sync.service and add:
[Unit] Description=Shairport Sync - AirPlay Audio Receiver [Service] ExecStart=/usr/bin/shairport-sync Restart=on-failure [Install] WantedBy=default.target Enable and start the new service:...
A shy first post to test my new blog published with Hugo, CharmFS and 🍺 Tavern.