Skip to content

Commit

Permalink
Add valve-hardware script from bazzite
Browse files Browse the repository at this point in the history
  • Loading branch information
Pogogo007 committed Jul 14, 2024
1 parent 0c7e4dd commit fac956a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions usr/lib/hwsupport/valve-hardware
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/bash
# Returns true for Valve handhelds
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)"
if [[ ":Jupiter:Galileo:" =~ ":$SYS_ID:" ]]; then
exit 0
fi

exit 1

0 comments on commit fac956a

Please sign in to comment.