sxmo-utils/scripts/core
Stacy Harper f9b96d2d28 Update modem status state on errors
If modemmonitor crash for some reason, status bar is not updated. The
reason is that statusbar check if modemmonitor is running, which it is
when trying to shutdown itself.

We change the way modemmonitor is detected using a single modem state
file. If the file is not present, then the monitor is considered not
running.

This single file permit to add more state in the future, without adding
any more files.

We also add a sleep 1, look like it is required to have instand status
bar update.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
2021-04-05 12:04:34 +02:00
..
sxmo_appmenu.sh Rework of the sxmo_modemtext with benefit 2021-04-05 12:00:49 +02:00
sxmo_audiocurrentdevice.sh Shellcheck and tabindent all scripts 2020-06-13 20:36:13 -05:00
sxmo_audioout.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_blinkled.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_bluetoothmenu.sh Try to make bluetooth menu connection more reliable 2021-03-29 20:29:22 +02:00
sxmo_brightness.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_common.sh Update modem status state on errors 2021-04-05 12:04:34 +02:00
sxmo_contactmenu.sh Move no before yes to confirm 2021-04-04 20:56:54 +02:00
sxmo_contacts.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_dmenu_with_kb.sh Do not close svkbd if it was already open before dmenu 2021-03-24 21:40:02 +01:00
sxmo_edit_screen.sh Shellcheck and tabindent all scripts 2020-06-13 20:36:13 -05:00
sxmo_flashtoggle.sh various indentation fixes (spaces to tabs and stripping trailing whitespace) 2020-11-20 18:10:17 +01:00
sxmo_gesturehandler.sh use 2-finger swipe down to close window, 3 to kill window 2021-03-22 19:49:48 +01:00
sxmo_gpsutil.sh Moved checkmark to icons 2021-03-16 22:01:41 +01:00
sxmo_hotcorner.sh complete revision of gestures, using new edge system 2020-10-31 13:53:46 +01:00
sxmo_keyboard.sh Do not close svkbd if it was already open before dmenu 2021-03-24 21:40:02 +01:00
sxmo_killwindow.sh use 2-finger swipe down to close window, 3 to kill window 2021-03-22 19:49:48 +01:00
sxmo_lisgdstart.sh fixed top right hotcorner #229 2021-04-02 17:45:52 +02:00
sxmo_lock.sh fixed shellcheck problem after applying last patch 2021-03-15 14:27:01 +01:00
sxmo_networks.sh autodetect modem ifname 2021-03-22 21:14:04 +01:00
sxmo_open.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_pipecomplete.sh Added sxmo_keyboard script that acts as an intermediary to opening and closing the keyboard 2021-03-15 13:51:48 +01:00
sxmo_postwake.sh Suspend Conky during screenlock #177 2021-02-23 19:05:54 +01:00
sxmo_powerbutton.sh compatibility with megapixels 0.16: power button takes a picture instead of toggling the keyboard, only when megapixels is active 2021-03-28 22:15:25 +02:00
sxmo_presuspend.sh ensure clickclack and svkbd are killed prior to suspending (may fix a sound stuttering problem) 2021-03-30 21:02:42 +02:00
sxmo_resetscaninterval.sh reduce wifi reconnection time after deep sleep #150 2021-01-30 21:40:56 +01:00
sxmo_rotate.sh Added sxmo_keyboard script that acts as an intermediary to opening and closing the keyboard 2021-03-15 13:51:48 +01:00
sxmo_rotateautotoggle.sh increased verbosity in various scripts, and do not run xargs kill when argument is empty (cleaner and clearer stderr messages) 2021-01-30 21:41:08 +01:00
sxmo_rtcwake.sh Implementing optional rtc wakeup at regular intervals, added presuspend, rtcwake and postwake scripts (with hooks) 2020-10-31 12:13:22 +01:00
sxmo_setpermissions.sh fix: path should be absolute 2021-03-18 19:21:41 +01:00
sxmo_statusbar.sh Update modem status state on errors 2021-04-05 12:04:34 +02:00
sxmo_statusbarupdate.sh increased verbosity in various scripts, and do not run xargs kill when argument is empty (cleaner and clearer stderr messages) 2021-01-30 21:41:08 +01:00
sxmo_surf_linkselect.sh Added sxmo_keyboard script that acts as an intermediary to opening and closing the keyboard 2021-03-15 13:51:48 +01:00
sxmo_timezonechange.sh Removed explicit font from most dmenu calls, dmenu font is read from Xresources now and kept as uniform as possible 2021-02-01 18:32:32 +01:00
sxmo_upgrade.sh we expect people to upgrade with apk upgrade -a (quoting ollieparanoid from pmos) 2021-03-31 11:48:32 +02:00
sxmo_urlhandler.sh removed hardcoded font 2021-03-22 19:49:48 +01:00
sxmo_vol.sh various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
sxmo_xinit.sh Implement default hooks for ringing and incoming texts, playing audio 2021-03-30 21:02:42 +02:00