Skip to content

Commit 1d84e3f

Browse files
committedOct 12, 2023
fix: Correct issue with screen rotation on non-deck hardware
1 parent 7a7778e commit 1d84e3f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
3+
set -e
4+
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)"
5+
6+
if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
7+
# Rotate the builtin screen every time so it's the right way around.
8+
xrandr --output "eDP" --rotate "right"
9+
fi

0 commit comments

Comments
 (0)
Please sign in to comment.