#!/usr/bin/env bash
# Clock for the bar — strftime format comes from TANINUX's panel.json.
fmt=$(jq -r '.bar.clock_format // empty' \
        "${XDG_DATA_HOME:-$HOME/.local/share}/taninux/panel.json" 2>/dev/null)
[ -z "$fmt" ] && fmt='%H:%M   ·   %A, %d %B %Y'
date "+$fmt"
