#!/bin/sh
BASE_URL=https://hudctrl.pyrocufflink.blue/api
xrandr --listactivemonitors \
| curl "${BASE_URL}"/display/monitors \
-H 'Content-Type: text/plain' \
--upload-file -
curl "${BASE_URL}"/display/up \
-d port=2829