chore: Fully disable joystickwake on GNOME

This commit is contained in:
Kyle Gospodnetich 2024-04-09 10:38:25 -07:00
parent 540367916c
commit 36421eeee9

View File

@ -11,5 +11,7 @@ fi
if [[ ${BASE_IMAGE_NAME} =~ "kinoite" ]]; then if [[ ${BASE_IMAGE_NAME} =~ "kinoite" ]]; then
/usr/bin/joystickwake --command "qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement wakeup" "$@" /usr/bin/joystickwake --command "qdbus org.kde.Solid.PowerManagement /org/kde/Solid/PowerManagement wakeup" "$@"
else else
/usr/bin/joystickwake --command "gnome-session-inhibit sleep 5" "$@" # Do nothing on GNOME until issue with this making the lock screen irrelevant is fully resolved.
exit 0
#/usr/bin/joystickwake "$@"
fi fi