Fix light off option
This commit is contained in:
parent
705d6ebeb5
commit
697d6ccfcd
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user