Use sxmo_statusbarupdate.sh script instead of direct calls duplicated logic
This commit is contained in:
parent
10705f08cd
commit
d713b19199
7 changed files with 8 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue