项目
在 GitHub 查看
anirudhajith/process-wallpaper
关于
使用 Shell 和 Python 脚本,将桌面壁纸设置为显示最耗费资源的进程的近实时词云。
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文process-wallpaper
Python and shell scripts which set your wallpaper to a wordcloud of the most resource-intensive processes presently running.

Depenendencies
python3gsettings(comes preinstalled with GNOME),plasmashell(comes with KDE) orfeh(supported by many Linux distributions).
If gsettings, plasmashell and feh are all not supported by your platform, you can still set wallpaper.png as your wallpaper manually.
Setup
- Clone this repo.
git clone https://github.com/anirudhajith/process-wallpaper.git
cd process-wallpaper
- Set the resolution of your display in
config.json - Install Python dependencies.
pip3 install -r requirements.txt --user
- Run
setup.sh
./setup.sh
Use
The wallpaper is updated every time updateWallpaper.sh is run. To trigger the update every minute, append the following line to crontab -e, remember to replace /path/to/script/directory with the directory of your scripts.
KDE
* * * * * 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"
Most other
* * * * * cd /path/to/script/directory && ./updateWallpaper.sh > /tmp/wallpaper.log 2>&1
探索相关项目
加载中…