This commit is contained in:
Sojus07
2025-05-19 21:22:43 +02:00
parent ae12d05779
commit 97988aa108
2 changed files with 6 additions and 6 deletions

View File

@ -4,17 +4,17 @@ static const char unknown_str[] = "?";
#define MAXLEN 2048
#define IFACE "enp6s0"
#define IFACE "igc0"
#define BAT "BAT0"
static const struct arg args[] = {
{ netspeed_rx, " [ %sB/s]", IFACE },
{ netspeed_tx, " [ %sB/s]", IFACE },
{ ipv4, " ^c#fb4934^[ %s]", IFACE },
{ run_command, " ^c#7ec07c^[%s]", "sh /opt/suckless/slstatus/components/sh/ip.sh" },
{ run_command, " ^c#fb4934^[%s]", "sh /opt/suckless/slstatus/components/sh/wg.sh" },
//{ run_command, " ^c#7ec07c^[%s]", "sh /opt/suckless/slstatus/components/sh/ip.sh" },
//{ run_command, " ^c#fb4934^[%s]", "sh /opt/suckless/slstatus/components/sh/wg.sh" },
//{ mullvad_relay, " [%s]", NULL },
{ mullvad_stat, " [%s]", NULL },
//{ mullvad_stat, " [%s]", NULL },
//{ battery_perc, " ^c#fe9019^[ %s%%", BAT },
//{ battery_remaining," %s]", BAT },

View File

@ -4,7 +4,7 @@ VERSION = 1.0
# customize below to fit your system
# paths
PREFIX = /usr
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
X11INC = ${PREFIX}/include
@ -16,7 +16,7 @@ CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os
LDFLAGS = -L$(X11LIB) -s
# OpenBSD: add -lsndio
# FreeBSD: add -lkvm -lsndio
LDLIBS = -lX11
LDLIBS = -lX11 -lkvm -lsndio
# compiler and linker
CC = cc