Shellcheck and tabindent all scripts
This commit is contained in:
parent
bd5ead19e5
commit
049a93e5d8
25 changed files with 589 additions and 534 deletions
|
@ -9,12 +9,12 @@ amixer set "$SPEAKER" mute
|
|||
amixer set "$HEADPHONE" mute
|
||||
amixer set "$EARPIECE" mute
|
||||
|
||||
if [[ "$ARG" = "Speaker" ]]; then
|
||||
amixer set "$SPEAKER" unmute
|
||||
elif [[ "$ARG" = "Headphones" ]]; then
|
||||
amixer set "$HEADPHONE" unmute
|
||||
elif [[ "$ARG" = "Earpiece" ]]; then
|
||||
amixer set "$EARPIECE" unmute
|
||||
if [ "$ARG" = "Speaker" ]; then
|
||||
amixer set "$SPEAKER" unmute
|
||||
elif [ "$ARG" = "Headphones" ]; then
|
||||
amixer set "$HEADPHONE" unmute
|
||||
elif [ "$ARG" = "Earpiece" ]; then
|
||||
amixer set "$EARPIECE" unmute
|
||||
fi
|
||||
|
||||
echo 1 > /tmp/sxmo_bar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue