config through environment variables
This commit is contained in:
parent
8e198f885e
commit
f1ba66939b
5
kunst
5
kunst
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
VERSION=1.2.4
|
VERSION=1.2.4
|
||||||
COVER=/tmp/kunst.jpg
|
COVER=/tmp/kunst.jpg
|
||||||
MUSIC_DIR=~/music/
|
MUSIC_DIR=~/Music/
|
||||||
SIZE=250x250
|
SIZE=250x250
|
||||||
|
|
||||||
|
|
||||||
|
@ -180,6 +180,9 @@ pre_exit() {
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
|
||||||
|
[[ $KUNST_MUSIC_DIR != "" ]] && MUSIC_DIR=$KUNST_MUSIC_DIR && echo "custom dir"
|
||||||
|
[[ $KUNST_SIZE != "" ]] && SIZE=$KUNST_SIZE && echo "custom size"
|
||||||
|
|
||||||
# Flag to run some commands only once in the loop
|
# Flag to run some commands only once in the loop
|
||||||
FIRST_RUN=true
|
FIRST_RUN=true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue