slslblocks is a suckless status monitor for dwm. created by C Noob using existing code
this a very first version of this programm which means its sucks but I hopeit will be better.
we try to merge the power of dwmblocks with performance of slstaus togther
Currently slstatus works on Linux (OpenBSD & FreeBSD in Future). In order to build slstatus you need the Xlib header files.
sudo make install
you can uses built-in functions and rearrange them by modifiying config.h file. Note: Recompile the source code.
Note: using shell function for every command has a cost but if you want to do it just use dwmblocks.
const char* keyar[] = {"0","keytoggle"};
static const Block blocks[] = {
/*Func*/ /*ival*/ /*Sig*/ /*Argements*/
{ shell, 0, 3, keyar },
};
- func argument: takes built-in function.
- interval arg: execute func every x second if 0 will wait for a signal to update.
- Signal arg: unique value for notifying slblocks to update block or that block is clicked.
- Args arg: some configuration of func.
this a very early version from a c noob so don't expect anythings