This is my first Pull Request - feel free to reject the commit that changes the dwall help message, that might have been an over-stretch.
Most of the work of this pull request was spent using the shellchecktool to bring the main dwall script and associated helper scripts into compliance with shellcheck warnings and errors.
However, the most relevant change is probably the change to path resolution for the image directory (stored in the DIR variable). I changed the path resolution for images to be relative to the current directory of the script; This allows the script to resolve the correct directory for images regardless of location. This also allowed me to remove the testing script (test.sh), reducing redundant files in the process.
This is my first Pull Request - feel free to reject the commit that changes the
dwall
help message, that might have been an over-stretch.Most of the work of this pull request was spent using the
shellcheck
tool to bring the maindwall
script and associated helper scripts into compliance withshellcheck
warnings and errors.However, the most relevant change is probably the change to path resolution for the image directory (stored in the
DIR
variable). I changed the path resolution for images to be relative to the current directory of the script; This allows the script to resolve the correct directory for images regardless of location. This also allowed me to remove the testing script (test.sh
), reducing redundant files in the process.