Display found images
Executes the command as a child process,
waiting for it to finish and collecting all of its output.
Config file path: “/home/user_name/.config/wallswitch/wallswitch.json”
Default directories to search for images.
Get all files into one vector.
Get unique and random images/figures
Generate a random integer value in the given range (min, max) inclusive.
Generate a random integer value in the given range (min, max) inclusive.
default wallpaper path: “/home/user_name/wallswitch.jpg”
Killing the previous instances of wallswitch before running
Generate random numbers without external dependencies
Read config file path: “/home/user_name/.config/wallswitch/wallswitch.json”
Set wallpaper side by side
Show initial messages
Shuffle the vector in place with the Fisher-Yates algorithm.
Update FileInfo images with dimension information