Fix light off option

This commit is contained in:
q3aql 2021-07-09 12:20:04 +02:00
parent 705d6ebeb5
commit 697d6ccfcd
2 changed files with 2 additions and 2 deletions

View File

@ -230,7 +230,7 @@ while [ ${showMenu} -eq 0 ] ; do
elif [ "${opcion}" == "${imagesPath}/light-off.png" ] ; then elif [ "${opcion}" == "${imagesPath}/light-off.png" ] ; then
sleep 2 | zenity --progress --title "zenidrv-g203-lightsync ${VERSION} (${M_DATE})" --text "Turning off the light on the mouse" \ sleep 2 | zenity --progress --title "zenidrv-g203-lightsync ${VERSION} (${M_DATE})" --text "Turning off the light on the mouse" \
--window-icon=${iconPath} --pulsate --no-cancel --auto-close --window-icon=${iconPath} --pulsate --no-cancel --auto-close
g203-led.py lightsync breathe 00FFFF 1000 0 g203-led.py lightsync breathe 000000 1000 0
device_error=$? device_error=$?
if [ ${device_error} -eq 0 ] ; then if [ ${device_error} -eq 0 ] ; then
echo > /dev/null echo > /dev/null

View File

@ -208,7 +208,7 @@ while [ ${showMenu} -eq 0 ] ; do
elif [ "${opcion}" == "${imagesPath}/light-off.png" ] ; then elif [ "${opcion}" == "${imagesPath}/light-off.png" ] ; then
sleep 2 | zenity --progress --title "zenidrv-g203-prodigy ${VERSION} (${M_DATE})" --text "Turning off the light on the mouse" \ sleep 2 | zenity --progress --title "zenidrv-g203-prodigy ${VERSION} (${M_DATE})" --text "Turning off the light on the mouse" \
--window-icon=${iconPath} --pulsate --no-cancel --auto-close --window-icon=${iconPath} --pulsate --no-cancel --auto-close
g203-led.py breathe 00FFFF 1000 0 g203-led.py breathe 000000 1000 0
device_error=$? device_error=$?
if [ ${device_error} -eq 0 ] ; then if [ ${device_error} -eq 0 ] ; then
echo > /dev/null echo > /dev/null