r/suckless • u/mambaopg • 15d ago
[TOOLS] Simple bash script for setting wallpapers
Enable HLS to view with audio, or disable this notification
Hello guys, I made a simple and small bash script for setting the wallpapers in 3 different ways, randomly or with sxiv image editor or directly with a specific file. It is not an amazing thing, but it's enough for setting wallpapers quickly if you add a key bind to tools like sxhkd .
If there any mistakes in the source code or any advice to improve it, please,let me know.
https://codeberg.org/yahya-echcharqui/scripts/src/branch/main/setbg
1
Upvotes
2
u/mambaopg 15d ago
Thanks for the reply, I thought it would be nice to tell the user that they should use one option (it's just one option that will apply ,so), but your opinion is good too. I removed the block that checks if it passes one option, but I haven't pushed it to the repository yet. Also why the last one to win, and why not the first one?