#!/bin/sh
# desk-conf-dump [TAG] : print the current ~/.config/pomelo/settings.conf (one line, ';'-separated) on the serial console, tagged,
# so a host-side test can read what System Settings / the quick-settings flyout really wrote.
c=${XDG_CONFIG_HOME:-/root/.config}/pomelo/settings.conf
echo "CONFDUMP ${1:-conf}: $(grep -v '^#' $c 2>/dev/null | tr '\n' ';')" > /dev/console
