mirror of
https://github.com/dennisreimann/kindle-display.git
synced 2026-08-13 12:33:45 +02:00
parent
28304bcf2c
commit
d1af52b967
1 changed files with 2 additions and 0 deletions
|
|
@ -17,5 +17,7 @@ if ! type firefox &> /dev/null && [[ -d "/Applications/Firefox.app/Contents/MacO
|
|||
PATH="$PATH:/Applications/Firefox.app/Contents/MacOS"
|
||||
fi
|
||||
|
||||
killall firefox-esr
|
||||
rm -rf ~/.mozilla ~/.cache/mozilla
|
||||
firefox-esr --headless --screenshot http://localhost:$DISPLAY_SERVER_PORT --window-size=600,800
|
||||
pngcrush -c 0 screenshot.png display.png
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue