simplified battery_perc() a lot and removed useless options from config.def.h

This commit is contained in:
Aaron Marcher
2016-09-13 20:54:45 +02:00
committed by Aaron Marcher (drkhsh)
parent 60df4f0f05
commit 2d1bbf0d35
2 changed files with 16 additions and 19 deletions

View File

@ -3,11 +3,6 @@
/* alsa sound */
#define ALSA_CHANNEL "Master"
/* battery */
#define BATTERY_PATH "/sys/class/power_supply/"
#define BATTERY_NOW "energy_now"
#define BATTERY_FULL "energy_full_design"
/* how often to update the statusbar (min value == 1) */
#define UPDATE_INTERVAL 1