Skip to content

Commit fac956a

Browse files
committed
Add valve-hardware script from bazzite
1 parent 0c7e4dd commit fac956a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

usr/lib/hwsupport/valve-hardware

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/bash
2+
# Returns true for Valve handhelds
3+
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)"
4+
if [[ ":Jupiter:Galileo:" =~ ":$SYS_ID:" ]]; then
5+
exit 0
6+
fi
7+
8+
exit 1

0 commit comments

Comments
 (0)