battery-format

This commit is contained in:
Linus Dierheimer
2021-03-04 20:49:12 +01:00
parent f67a5f3879
commit f65105d181
8 changed files with 45 additions and 10 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include "X11/extensions/Xrandr.h"
#include "dlfcn.h"
short getCurrentRate(Display* display)
static short getCurrentRate(Display* display)
{
void* xrandr = dlopen("libXrandr.so", RTLD_LAZY);
if(xrandr == NULL)