Skip to content

Commit

Permalink
fix: Always use ds-inhibit service
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Feb 1, 2024
1 parent 57d87bc commit b7e27cf
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,16 +179,15 @@ if [[ $IMAGE_NAME =~ "deck" || $IMAGE_NAME =~ "ally" || $IMAGE_NAME =~ "framegam

systemctl enable --now jupiter-fan-control.service
systemctl enable --now vpower.service
systemctl enable --now ds-inhibit.service
else
echo "Generic device detected. Performing setup..."
if /usr/libexec/hardware/hhd-supported-hardware; then
echo "HHD supported handheld detected, disabling handycon & ds-inhibit..."
echo "HHD supported handheld detected, disabling handycon"
systemctl disable --now handycon.service
systemctl disable --now ds-inhibit.service
elif /usr/libexec/hardware/handycon-supported-hardware; then
echo "HandyGCCS supported handheld detected, enabling handycon & ds-inhibit..."
echo "HandyGCCS supported handheld detected, enabling handycon"
systemctl enable --now handycon.service
systemctl enable --now ds-inhbit.service
fi
systemctl disable --now jupiter-fan-control.service
systemctl disable --now vpower.service
Expand Down

0 comments on commit b7e27cf

Please sign in to comment.