Add TOML config, playerctl dep, and media button defaults; bump to v1.1.0

- Switch config format from JSON to TOML (tomllib built-in on 3.11+,
  tomli fallback for 3.10) so the generated config can include comments
- Write an annotated config.toml on first run with descriptions for every
  knob/button and hints for all available actions
- Promote playerctl from optdepends to depends so media buttons work
  out of the box
- Default buttons 1–3 now pre-configured for playerctl previous/play-pause/next
- Rename contrib/config.example.json → config.example.toml with full
  TOML rewrite including per-knob LED colour override examples
- Log a migration hint when a legacy config.json is detected
This commit is contained in:
Sean Doran committed 2026-02-27 14:38:36 -05:00
1 parent 2e77bf804e
commit 916541d815
9 files changed
+281 -117

No files matched your search

+3 -3
View File
@@ -1,6 +1,6 @@
pkgbase = turn-up-arch
pkgdesc = USB serial knob/button mixer daemon for PipeWire/PulseAudio on Linux
pkgver = 1.0.0
pkgver = 1.1.0
pkgrel = 1
url = https://github.com/sean351/turn-up-arch
arch = any
@@ -13,10 +13,10 @@ pkgbase = turn-up-arch
depends = python-pyserial
depends = python-pulsectl
depends = pipewire-pulse
optdepends = playerctl: media key support via button commands
depends = playerctl
optdepends = pulseaudio: alternative to pipewire-pulse
install = turnupd.install
source = turn-up-arch-1.0.0.tar.gz::https://github.com/sean351/turn-up-arch/archive/refs/tags/v1.0.0.tar.gz
source = turn-up-arch-1.1.0.tar.gz::https://github.com/sean351/turn-up-arch/archive/refs/tags/v1.1.0.tar.gz
sha256sums = SKIP
pkgname = turn-up-arch