Skip to main content

Conky with Python

These days i was playing around with conky and python. So i created a module in python for file monitoring which i embedded in conky. You can find the source code and the installation instructions in the github link.

The list_of_files text file contains the absolute path of the files you want to monitor.

You should set as you wish the HOURS variable in scripts/hash_calc.py. This is the time interval (number of hours) after the last change that the module will notify you about the change in the file.

In order to monitor the specified files you should have read privileges. Also, take care of update_interval because frequent md5sum calculation may increase the load of your system.

It looks like this:

-Anastasios

Comments

Popular posts from this blog

Aircraft maintenance simulator & VR game projects

Since the start of this academic year I've been enrolled in a Computer Science postgraduate program. I have found a couple of my semester projects to be noteworthy, so I thought I should post about them.

Barbara vs Zombies

A few years back I made a game, Barbara vs Zombies, for my then-girlfriend Barbara. She used to like an old light-gun game, House of the Dead , so I depicted her dodging and shooting zombies in this one. Included a backstory with silly romanticism, cats, and inside jokes. It's been nearly a year since we broke up, and this game has been sitting forgotten in my hard disk. I eventually decided it shouldn't go to waste. It is, after all, a game meant to remind us of happy times. Download and play the game on Gamejolt  or itch.io . I had made an Android version too, maybe I'll get around to publishing it someday. Hang in there, 2020 was a tough year, but you've made it this far already, so congrats. 💖 -Kostas

Stick Veterans 2.0: a long-overdue update

It's been so long since the last game update that I feel nervous writing this. After a long time of development and rewriting, a new update is finally available. Stick Veterans 2.0 is now published on Poki, a popular online games website.