#!/usr/bin/env bash
set -x

: <<'!'
Low level control GUI for PipeWire

coppwr displays and provides control over many aspects of PipeWire as directly as possible in an organized and visual way. It can help with debugging and diagnosing a PipeWire setup or with developing software that interacts with PipeWire.
Features

    Node graph editing
    Object inspection, creation & destruction
    Process monitoring & profiler statistics
    Metadata editing
    Module loading
    Connecting to XDG Desktop Portal remotes
!

VERSION=$(lastversion --format version coppwr)
DEST=/var/tmp

wget \
  -c \
  --directory-prefix ${DEST} \
  https://github.com/dimtpap/coppwr/releases/download/${VERSION}/coppwr-${VERSION}-amd64.deb

dpkg -i ${DEST}/coppwr-${VERSION}-amd64.deb
