xinit: Trigger hudctrl after openbox starts
basementhud/pipeline/head This commit looks good
Details
basementhud/pipeline/head This commit looks good
Details
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.pull/1/head
parent
01c8c116dd
commit
aa6162d37a
|
@ -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
|
|
@ -9,12 +9,4 @@ export TZ
|
||||||
systemctl --user import-environment DISPLAY TZ
|
systemctl --user import-environment DISPLAY TZ
|
||||||
systemctl --user start firefox-marionette.socket firefox
|
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
|
exec openbox
|
||||||
|
|
Loading…
Reference in New Issue