xinit: Trigger hudctrl after openbox starts
All checks were successful
basementhud/pipeline/head This commit looks good
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:
10
overlay/home/user/.config/openbox/autostart
Normal file
10
overlay/home/user/.config/openbox/autostart
Normal 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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user