Azote doesn't handle correctly file paths with spaces
luispabon opened this issue · 4 comments
luispabon commented
~ cat ~/.azotebg
#!/usr/bin/env bash
pkill swaybg
swaybg -o* -i /home/luis/Pictures/backgrounds/Destiny Rasputn.jpg -m fit &
~ ~/.azotebg
2019-08-20 23:14:18 - [background-image.c:31] Failed to load background image (Failed to open file “/home/luis/Pictures/backgrounds/Destiny”: No such file or directory).
2019-08-20 23:14:18 - [main.c:438] Failed to load image: /home/luis/Pictures/backgrounds/Destiny
Usage: swaybg <options...>
-c, --color Set the background color.
-h, --help Show help message and quit.
-i, --image Set the image to display.
-m, --mode Set the mode to use for the image.
-o, --output Set the output to operate on or * for all.
-v, --version Show the version number and quit.
Background Modes:
stretch, fit, fill, center, tile, or solid_color
nwg-piotr commented
This may be resolved by putting path in between apostrophes / quotation marks. I'll fix the issue today. Thanks for reporting!
nwg-piotr commented
Seems to work well. Release v1.3.1 later today. For now it may be tested as the azote-git
AUR package.
nwg-piotr commented
Release v1.3.1 published. AUR package up to date. I'll also submit update to the Void Linux repo. Other distributions must rely on their packagers.
luispabon commented
Perfecto, thank you @nwg-piotr 👍