Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
simplified battery_perc() a lot and removed useless options from config.def.h
[slstatus.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
b105869
..
8cf8e56
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-3,11
+3,6
@@
/* alsa sound */
#define ALSA_CHANNEL "Master"
/* 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
/* how often to update the statusbar (min value == 1) */
#define UPDATE_INTERVAL 1