Xinqi Bao's Git

n/a for run_command()
[slstatus.git] / README.md
index 9d6f813..686922c 100644 (file)
--- 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