xinit: Trigger hudctrl after openbox starts
All checks were successful
basementhud/pipeline/head This commit looks good

The window manager needs to be running before we trigger *hudctrl* to
open the Firefox windows, otherwise they will not be able to go into
fullscreen.
This commit is contained in:
2022-05-01 10:30:06 -05:00
parent 01c8c116dd
commit aa6162d37a
2 changed files with 10 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/sh
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

View File

@@ -9,12 +9,4 @@ 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