From a20c17de66b417c133883e9b983db6315e532c0a Mon Sep 17 00:00:00 2001 From: Julian T Date: Sat, 31 Oct 2020 16:51:20 +0100 Subject: Added config and patches Patches: - Pulseaudio volume - Battery warning --- components/battery.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'components/battery.c') diff --git a/components/battery.c b/components/battery.c index 07b6ac1..f54db93 100644 --- a/components/battery.c +++ b/components/battery.c @@ -4,6 +4,9 @@ #include "../util.h" +// Used for battery warning +extern void batt_hook(int perc); + #if defined(__linux__) #include #include @@ -40,6 +43,8 @@ return NULL; } + batt_hook(perc); + return bprintf("%d", perc); } -- cgit v1.2.3