A python and shell script to set the wallpaper to a wordcloud of the most trending google searches.
This project is inspired from process-wallpaper. You can check it out for the wordcloud of most resource hungry processes running in your system.
fehTo set the generated wordcloud as the wallpaper
xvfbTo simulate a display and run everything in memory
pip install -r requirements.txt
seleniumTo scrape the data from Google trends
pyvirtualdisplayPython wrapper for
wordcloudTo generate the wordcloud
PILPython imaging library
- Clone this repo
git clone https://github.com/shardul08/Google-Trend-Wallpaper.git
- Change directory to the repo
This will install all the required dependencies and set the wallpaper.
./updateWallpaper.sh to update the wallpaper to the wordcloud of the latest trends.
You can set your region/country to get the trending searches in
line #30 of
You can set the number of days for which you want the trending searches in
line #31 of
NOTE If the wallpaper is not set automatically, you can set
wallpaper.png as the wallpaper manually.
If you want the wallpaper to refresh/update every hour, you can add a cron job to run the script every hour.
To add a cron job, run
append the following
0 * * * * cd path/to/script/directory && ./updateWallpaper.sh > /tmp/wallpaper.log > 2>&1
This will refresh the wallpaper every hour. You can customize this command to refresh the wallpaper as often you want.