X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/ee5337babe5fb756d5877fc820a73f5a34a0d799..c8926634be53796b3b5d4ebe85a79e0a721ef43e:/README.md?ds=sidebyside diff --git a/README.md b/README.md index c8f0896..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 @@ -38,13 +37,9 @@ Before you continue, please be sure that a C compiler (preferrably gcc), GNU mak ### Starting -Write the following code in your ~/.xinitrc (or any other initialization script): +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