Remove problematic window sizing, and open window outside of visible display to remove a white flash during startup.
This commit is contained in:
parent
a1a035a284
commit
c3ef0c9d6e
@ -33,7 +33,7 @@ find .config/chromium/ -name "Last *" | xargs rm
|
||||
# Note that under matchbox, starting in full-screen without a window size doesn't behave well when you try to exit full screen (see https://unix.stackexchange.com/q/273989)
|
||||
chromium-browser \
|
||||
--start-fullscreen \
|
||||
--window-size=1920,1080 \
|
||||
--window-position=9000,9000 \
|
||||
--disable-infobars \
|
||||
--check-for-update-interval=1 --simulate-critical-update \
|
||||
&
|
||||
@ -42,7 +42,7 @@ chromium-browser \
|
||||
# Hide Chromium while it's starting/loading the page
|
||||
wid=`xdotool search --sync --onlyvisible --class chromium`
|
||||
xdotool windowunmap $wid
|
||||
sleep 15 # give the web page time to load
|
||||
sleep 10 # give the web page time to load
|
||||
xdotool windowmap $wid
|
||||
|
||||
# Finally, switch process to our window manager
|
||||
|
||||
Loading…
Reference in New Issue
Block a user