Closed acrisci closed 10 years ago
So, basically, a script totally unrelated to j4status that can:
file-monitor
plugin (which is going to gain a few features to make it more i3blocks
-like)notify-send
for real user notificationI am pretty sure you can make that on your own. :-)
Just to make it clear, j4status’ purpose is to query then print system information, not really to run checks itself.
Future features of file-monitor
will allow to run an executable (or a script) at some interval or continuously to create sections. Combined with an output plugin of your own (that can wraps the i3bar
plugin if needed) that should allow you to do everything you might want.
So every now and then, I will come across a bug in systemd, or maybe by my own mistakes cause some sort of problem on my system that may be difficult to detect until I require the full resources of the system.
For instance, a script or application may be in an infinite loop without any immediate indication and many times the first way I notice this is by the rising temperature of the room.
So this is a feature request for some feature that will allow me to run some sort of light system diagnosis at some interval and alert me if this test fails. Maybe something as general as running a script and reporting the exit code unless zero will do.