throttled icon indicating copy to clipboard operation
throttled copied to clipboard

We should try to reduce dependencies

Open DEvil0000 opened this issue 7 years ago • 3 comments

The script has quite some dependencies beside python3. I am quite sure we could get rid of some by getting the information a bit differently.

DEvil0000 avatar Aug 30 '18 15:08 DEvil0000

This would be nice, but it will also require some re-design I think.

erpalma avatar Aug 30 '18 20:08 erpalma

I can get rid of psutil (and I should) but the main problem is glib that I use to receive external events so to avoid polling. systemd does have the sleep target so we can get a signal when the system is entering/exiting suspend states, but it does not have an AC/BAT target. We might use an udev rule for this but it's quite an hack.

erpalma avatar Sep 01 '18 08:09 erpalma

Just dropped psutil.

erpalma avatar Sep 11 '18 15:09 erpalma