Commit graph

7 commits

Author SHA1 Message Date
Clayton Craft
2d9740f252 sxmo_audio*: properly set vars with default values if they are unset
A mistake from implementing this resulted in the shell trying to expand
the 'word' part (e.g. "Line Out"), when the var was unset or null.
Obviously those are are strings and not expandable.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-04-24 01:14:55 -04:00
Clayton Craft
fd0eb1dc88 sxmo_audioout: use existing env vars for audio devices
If the env variables in this script are set, use those values. Else it
defaults to using the values set before this patch.

Signed-off-by: Anjandev Momi <anjan@momi.ca>
2021-04-23 17:22:03 -04:00
Maarten van Gompel
295af30993 various scripts were not sourcing the common include script yet (noted by mrrabbit1155) 2021-02-21 15:14:16 +01:00
Miles Alan
d713b19199 Use sxmo_statusbarupdate.sh script instead of direct calls duplicated logic 2020-07-12 11:38:31 -05:00
Miles Alan
87c99ec024 Use USR1 signal instead of update file for updating statusbar 2020-07-12 11:32:02 -05:00
Miles Alan
049a93e5d8 Shellcheck and tabindent all scripts 2020-06-13 20:36:13 -05:00
Miles Alan
3c1fbd9e8d Migrate audio menu logic to appmenu and add indicator for current out device 2020-05-26 18:34:54 -05:00
Renamed from scripts/core/sxmo_audiooutmenu.sh (Browse further)