diff options
| author | Inqiyad Sabr <sabr@ariamath.xyz> | 2025-11-18 14:42:04 +0600 |
|---|---|---|
| committer | Inqiyad Sabr <sabr@ariamath.xyz> | 2025-11-18 14:42:04 +0600 |
| commit | ccad4019ce8e83cc7e9f3edb257c78bb51589421 (patch) | |
| tree | 344a0a47e0c0b330105b5d25d7ee9ac8284610f2 /bstatus.c | |
| parent | 1a494a95e6436f90d3dfc1ca7647eafcc94e5034 (diff) | |
Fixing all redundancies in code reading, hopefully.
Diffstat (limited to 'bstatus.c')
| -rw-r--r-- | bstatus.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,7 +2,8 @@ #include "modules.h" int main(void) { - write(1, + write + (1, "{\"version\":1," "\"bstatus-version\":\"0.1.1-r1\"," "\"click_events\":true,"\ @@ -10,13 +11,14 @@ int main(void) "\"stop_signal\":19}\n[[],\n", 102 ); - for (;;) { + for (;;) + { write(1,"[",1); cmus(); datetime(); battery(); cpu(); - scrbr(); + //scrbr(); mem(); write(1,"],",2); sleep(1); |