Shell and python scripts that set the desktop wallpaper to a word cloud of the most resource-hungry processes
Python and shell scripts which set your wallpaper to a wordcloud of the most resource-intensive processes presently running.
python3
gsettings(comes preinstalled with GNOME),
plasmashell(comes with KDE) or
feh(supported by many Linux distributions).
If
gsettings,
plasmashelland
fehare all not supported by your platform, you can still set
wallpaper.pngas your wallpaper manually.
git clone https://github.com/anirudhajith/process-wallpaper.git cd process-wallpaper
config.json
pip3 install -r requirements.txt --user
setup.sh
./setup.sh
The wallpaper is updated every time
updateWallpaper.shis run. To trigger the update every minute, append the following line to
crontab -e, remember to replace
/path/to/script/directorywith the directory of your scripts.
* * * * * export "binpath=/path/to/script/directory"; "DISPLAY=:$(ls -1 /tmp/.X11-unix/X* | grep -oE "[0-9]*$" | sort -n | head -1)"; export "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus"; (pushd "${binpath}" && ./updateWallpaper.sh && ./setWallpaper.sh; popd) 2>&1 | logger -t "process-wallpaper"
* * * * * cd /path/to/script/directory && ./updateWallpaper.sh > /tmp/wallpaper.log 2>&1