3 ms·
My background is a vertical gradient. I have a script that runs via cron every 5 or 10 seconds that sets the top and bottom colors of the gradient to values tha
by cgs1019 17y ago
My background is a vertical gradient. I have a script that runs via cron every 5 or 10 seconds that sets the top and bottom colors of the gradient to values that reflect the memory usage (top) and cpu usage (bottom) at any given time.
So if my memory usage is low, the top color of the bg gradient is blue and if it's high the top color is red. It varies smoothly in between. Similarly, the bottom color varies between two colors to indicate low/high cpu usage. This way, if I'm executing a long-running, cpu-intensive task, I have a subtle indication of whether it's still running.
- catch404 17y agowould you be able to email the script to me? was always a fan of fedoras changing background (based on time of day) but this seems more useful.