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

+2 -2
View File
@@ -1,7 +1,7 @@
# Maintainer: Sean Doran <sdoran35@gmail.com>
# AUR updates are automated via GitHub Actions on version tag push
pkgname=turn-up-arch
pkgver=1.0.0
pkgver=1.1.0
pkgrel=1
pkgdesc="USB serial knob/button mixer daemon for PipeWire/PulseAudio on Linux"
arch=('any')
@@ -12,6 +12,7 @@ depends=(
'python-pyserial'
'python-pulsectl'
'pipewire-pulse'
'playerctl'
)
makedepends=(
'python-build'
@@ -20,7 +21,6 @@ makedepends=(
'python-hatchling'
)
optdepends=(
'playerctl: media key support via button commands'
'pulseaudio: alternative to pipewire-pulse'
)
install=turnupd.install