commit 5838473ebc3b237e945378b72d6d63be6543406e parent 14465785341284816e3d1dbde5f29445a9b93148 Author: dwrz <dwrz@dwrz.net> Date: Sat, 21 Oct 2023 20:52:28 +0000 Add --no-fehbg flag to map-bg script Diffstat:
M | scripts/map-bg | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/map-bg b/scripts/map-bg @@ -33,7 +33,7 @@ mkdir -p "${map_dir}" # Use a cached map, if one exists. if [[ -f "${map_dir}/${tiles}-${coordinates}-${zoom}.png" ]]; then - feh --bg-fill "${map_dir}/${tiles}-${coordinates}-${zoom}.png" + feh --bg-fill --no-fehbg "${map_dir}/${tiles}-${coordinates}-${zoom}.png" exit 0 fi @@ -45,7 +45,7 @@ create-static-map \ --type "${tiles}" \ --output "${map_dir}/${tiles}-${coordinates}-${zoom}.png" \ && \ - feh --bg-fill "${map_dir}/${tiles}-${coordinates}-${zoom}.png" + feh --bg-fill --no-fehbg "${map_dir}/${tiles}-${coordinates}-${zoom}.png" if [[ "$?" -ne 0 ]]; then - feh --bg-fill --randomize "${map_dir}/"* + feh --bg-fill --no-fehbg --randomize "${map_dir}/"* fi