Skip to content

Commit

Permalink
Add missing package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Jul 6, 2023
1 parent 0bf3c08 commit d841ca5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpi/.xinitrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ xset s noblank
# Hide mouse pointer
unclutter -idle 0 &

# reduce resolution to fix scaling issues with TVs at RC22
xrandr --output HDMI-1 --mode 1024x768
# Set resolution to full-hd (keep in sync with package.json)
xrandr --output HDMI-1 --mode 1920x1080

# Start browser in kiosk mode
#chromium-browser http://localhost:8082 --start-fullscreen --kiosk --incognito --noerrdialogs --no-first-run --disk-cache-dir=/dev/null
Expand Down
9 changes: 9 additions & 0 deletions rpi/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "ssl-status-board",
"main": "http://localhost:8082",
"window": {
"kiosk": true,
"width": 1920,
"height": 1080
}
}

0 comments on commit d841ca5

Please sign in to comment.