X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/6518f41b1f96b2bd684c2e37b5ea0002074cc49b..9477f3b1d11521d015f0117b99235ccf72e99cb8:/README.md diff --git a/README.md b/README.md index 9d6f813..686922c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -slstatus -======== +![slstatus](slstatus.png) **slstatus** is a suckless and lightweight status monitor for window managers that use WM_NAME as statusbar (e.g. DWM). It is written in pure C without any system calls and only reads from files most of the time. It is meant to be a better alternative to Bash scripts (inefficient) and Conky (bloated for this use). @@ -9,7 +8,7 @@ Looking at the LOC (lines of code) of the [Conky project](https://github.com/brn The following information is included: -- Battery percentage +- Battery percentage/state - CPU usage (in percent) - Custom shell commands - Date and time @@ -40,11 +39,7 @@ Before you continue, please be sure that a C compiler (preferrably gcc), GNU mak Write the following code to your ~/.xinitrc (or any other initialization script): - while true; do - slstatus - done & - -The loop is needed that the program runs after suspend to ram. + slstatus & ## Contributing