diff --git a/overlay/home/user/.xinitrc b/overlay/home/user/.xinitrc index c944550..e410527 100644 --- a/overlay/home/user/.xinitrc +++ b/overlay/home/user/.xinitrc @@ -8,4 +8,13 @@ export TZ systemctl --user import-environment DISPLAY TZ systemctl --user start firefox-marionette.socket firefox + +BASE_URL=http://rosalina.pyrocufflink.blue:8000 +xrandr --listactivemonitors \ + | curl "${BASE_URL}"/display/monitors \ + -H 'Content-Type: text/plain' \ + --upload-file - +curl "${BASE_URL}"/display/up \ + -d port=2829 + exec openbox