Use sxmo_statusbarupdate.sh script instead of direct calls duplicated logic

This commit is contained in:
Miles Alan 2020-07-12 11:38:31 -05:00
parent 10705f08cd
commit d713b19199
7 changed files with 8 additions and 14 deletions

View file

@ -17,4 +17,4 @@ elif [ "$ARG" = "Earpiece" ]; then
amixer set "$EARPIECE" unmute
fi
pgrep -f "$(command -v sxmo_statusbar.sh)" | xargs kill -USR1
sxmo_statusbarupdate.sh

View file

@ -3,7 +3,7 @@
change() {
echo "Changing timezone to $1"
sudo setup-timezone -z "$1"
pgrep -f "$(command -v sxmo_statusbar.sh)" | xargs kill -USR1
sxmo_statusbarupdate.sh
echo Timezone changed ok
read -r
}

View file

@ -8,7 +8,7 @@ notify() {
xargs printf %.0f
)"
dunstify -i 0 -u normal -r 998 "$VOL"
pgrep -f "$(command -v sxmo_statusbar.sh)" | xargs kill -USR1
sxmo_statusbarupdate.sh
}
up() {