diff --git a/config.h b/config.h index 3abdb32..7f536be 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ const unsigned int interval = 1000; /* text to show if no value can be retrieved */ -static const char unknown_str[] = "n/a"; +static const char unknown_str[] = ""; /* maximum output string length */ #define MAXLEN 2048 @@ -63,11 +63,9 @@ static const char unknown_str[] = "n/a"; */ static const struct arg args[] = { /* function format argument */ - { load_avg, " %s |", NULL }, - { ram_used, " %sB /", NULL }, - { ram_free, " %sB |", NULL }, - { netspeed_rx, " %sB /", "eno1" }, - { netspeed_tx, " %sB |", "eno1" }, - { uptime, " %s |", NULL }, - { datetime, " %s ", "%a %d/%m %T" }, + { load_avg, " %s |", NULL }, + { ram_used, " %sB /", NULL }, + { ram_free, " %sB |", NULL }, + { uptime, " %s |", NULL }, + { datetime, " %s ", "%a %d/%m %T" }, }; diff --git a/config.mk b/config.mk deleted file mode 100644 index 3b32b7c..0000000 --- a/config.mk +++ /dev/null @@ -1,20 +0,0 @@ -# slstatus version -VERSION = 0 - -# customize below to fit your system - -# paths -PREFIX = /usr/local -MANPREFIX = $(PREFIX)/share/man - -X11INC = /usr/X11R6/include -X11LIB = /usr/X11R6/lib - -# flags -CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE -CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os -LDFLAGS = -L$(X11LIB) -s -LDLIBS = -lX11 - -# compiler and linker -CC = cc diff --git a/slstatus.1 b/slstatus.1 deleted file mode 100644 index da1a99a..0000000 --- a/slstatus.1 +++ /dev/null @@ -1,25 +0,0 @@ -.Dd 2017-08-10 -.Dt SLSTATUS 1 -.Os -.Sh NAME -.Nm slstatus -.Nd suckless status monitor -.Sh SYNOPSIS -.Nm -.Op Fl s -.Sh DESCRIPTION -.Nm -is a suckless status monitor for window managers that use WM_NAME (e.g. dwm) or -stdin to fill the status bar. -By default, -.Nm -outputs to WM_NAME. -.Sh OPTIONS -.Bl -tag -width Ds -.It Fl s -Write to stdout instead of WM_NAME. -.El -.Sh CUSTOMIZATION -.Nm -can be customized by creating a custom config.h and (re)compiling the source -code. This keeps it fast, secure and simple.