Use USR1 signal instead of update file for updating statusbar
This commit is contained in:
parent
f448f3c444
commit
87c99ec024
7 changed files with 11 additions and 22 deletions
|
@ -5,7 +5,7 @@ fatalerr() {
|
|||
# E.g. hangup all calls, switch back to default audio, notify user, and die
|
||||
mmcli -m "$(mmcli -L | grep -oE 'Modem\/([0-9]+)' | cut -d'/' -f2)" --voice-hangup-all
|
||||
notify-send "$1"
|
||||
(sleep 0.5; echo 1 > /tmp/sxmo_bar) &
|
||||
(sleep 0.5; pgrep -f "$(command -v sxmo_statusbar.sh)" | xargs kill -USR1) &
|
||||
kill -9 0
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue