Hi, attached are my first stabs for improved config file examples, showing how to make use of events... I'm a bit unsure how to differate between the default config as it's now and this theme, as for me it's the default. So maybe just stick these two files into /usr/share/fdpowermon/examples/ - together with a small README?
cc:ing Gregor, maybe he has some awesome idea on this :) After having looked at the manpage again, maybe stick these two files as _complete_ examples in the manpage? (incl. the comments...) cheers, Holger
[default] steps = 7 dir = /usr/share/icons/oxygen/22x22/status charging = 0:battery-charging-low.png, 10:battery-charging-low.png, 30:battery-charging-caution.png, 50:battery-charging-040.png, 70:battery-charging-060.png, 90:battery-charging-080.png,99:battery-charging.png # additional events are defined in /etc/fdpowermon/theme.pl discharging = 2:battery-missing.png:battery-low.png,10:battery-low.png,30:battery-caution.png,40:battery-040.png,60:battery-060.png,80:battery-080.png,90:battery-100.png
theme.pl
Description: Perl program
signature.asc
Description: This is a digitally signed message part.