all repos — slstatus @ 97ff66522c098ddd8f0c106deae1c5065cdb5920

my build of slstatus (tools.suckless.org/slstatus/)

wifi: OS split
Quentin Rameau quinq@fifth.space
Mon, 30 Apr 2018 15:14:39 +0200
commit

97ff66522c098ddd8f0c106deae1c5065cdb5920

parent

19f3c8f545237f9db5e994220f3529b192b4bf39

3 files changed, 2 insertions(+), 4 deletions(-)

jump to
M MakefileMakefile

@@ -25,7 +25,7 @@ components/$(OS)/temperature \

components/$(OS)/uptime \ components/user\ components/volume\ - components/wifi + components/$(OS)/wifi all: slstatus
M components/wifi.ccomponents/Linux/wifi.c

@@ -1,5 +1,4 @@

/* See LICENSE file for copyright and license details. */ -#if defined(__linux__) #include <errno.h> #include <ifaddrs.h> #include <linux/wireless.h>

@@ -10,7 +9,7 @@ #include <string.h>

#include <sys/ioctl.h> #include <unistd.h> -#include "../util.h" +#include "../../util.h" const char * wifi_perc(const char *iface)

@@ -89,4 +88,3 @@ return NULL;

else return id; } -#endif