Skip to content

Commit

Permalink
feat(loki max): Auto enable handycon
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Feb 2, 2024
1 parent 7740300 commit 00d0729
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/bash
# Returns true for hardware that is supported by Handycon exclusively.
SYS_ID="$(cat /sys/devices/virtual/dmi/id/product_name)"
if [[ ":AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1619-04:Win600:" =~ ":$SYS_ID:" ]]; then
if [[ ":AYANEO GEEK:AYANEO 2:AYANEO 2S:AOKZOE A1 AR07:G1619-04:Win600:Loki Max:" =~ ":$SYS_ID:" ]]; then
exit 0
else
exit 1
Expand Down

0 comments on commit 00d0729

Please sign in to comment.