commit cccdefc87720f4413b48e9e351ced3ed752c5207
parent 5b0617272f09c516fb234cc82e71ecedfe2707a7
Author: sin <sin@2f30.org>
Date: Tue, 1 Aug 2017 19:01:48 +0100
Monitor both BAT0 and BAT1 by default
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/config.linux.mk b/config.linux.mk
@@ -1,9 +1,8 @@
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
-# You can specify more than one battery paths
CPPFLAGS = \
-DVERSION=\"${VERSION}\" \
- -DPATH_LIST_BAT='{ "/sys/class/power_supply/BAT0" }' \
+ -DPATH_LIST_BAT='{ "/sys/class/power_supply/BAT0", "/sys/class/power_supply/BAT1" }' \
-DPATH_AC_ONLINE=\"/sys/class/power_supply/AC/online\"
LDLIBS = -lX11