diff --git a/config.h b/config.h index c21fba9..5c2211f 100644 --- a/config.h +++ b/config.h @@ -65,13 +65,14 @@ static const struct arg args[] = { /* function format argument */ { kernel_release, " %s |", NULL }, { keymap, " %s |", NULL }, - { load_avg, " %s |", NULL }, +// { battery_perc, " %s% |", "CMB1" }, +// { temp, " %s°C |", "/sys/class/thermal/thermal_zone0/temp"}, + { load_avg, " %s @", NULL }, + { cpu_freq, " %sHz |", NULL }, { ram_used, " %sB /", NULL }, { ram_free, " %sB |", NULL }, - { swap_used, " %sB /", NULL }, - { swap_free, " %sB |", NULL }, - { netspeed_rx, " %7.7sB/s", "twg0" }, - { netspeed_tx, " %7.7sB/s |", "twg0" }, + { netspeed_rx, " %7.7sB/s", "wg0" }, + { netspeed_tx, " %7.7sB/s |", "wg0" }, { uptime, " %s |", NULL }, { datetime, " %s ", "%a %d/%m %T" }, }; diff --git a/slstatus.1 b/slstatus.1 new file mode 100644 index 0000000..da1a99a --- /dev/null +++ b/slstatus.1 @@ -0,0 +1,25 @@ +.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.