Skip to content

Commit c1c6bcc

Browse files
feat(server) add fullhd display pi
1 parent 3305be3 commit c1c6bcc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/config.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,13 @@ then
135135

136136
fi
137137

138+
if [ "$FULLHD" = "true" ];
139+
then
140+
echo "FULLHD Display Mode"
141+
DISPLAY=:0 xrandr --output HDMI-1 --mode 1920x1080 --rate 60
142+
DISPLAY=:0 xrandr --output HDMI-2 --mode 1920x1080 --rate 60
143+
fi
144+
138145

139146
xset s noblank
140147
xset -dpms

0 commit comments

Comments
 (0)