diff --git a/RandomVideo.sh b/RandomVideo.sh index 8262f18..a6ace62 100755 --- a/RandomVideo.sh +++ b/RandomVideo.sh @@ -8,7 +8,7 @@ if [ -z "$cmdjq" ]; then exit 1 fi -configfile="~/RandomVideo/config.json" +configfile="config.json" folder="$($cmdjq -r ".RandomVideo | .folder" < $configfile)" player="$($cmdjq -r ".player" < $configfile)" diff --git a/buzzer.sh b/buzzer.sh index 6409aa5..9ff04f5 100755 --- a/buzzer.sh +++ b/buzzer.sh @@ -8,7 +8,7 @@ if [ -z "$cmdjq" ]; then exit 1 fi -configfile="~/RandomVideo/config.json" +configfile="config.json" buzzergpio="$($cmdjq -r ".buzzer | .buzzergpio" < $configfile)" strobegpio="$($cmdjq -r ".buzzer | .strobegpio" < $configfile)"