[hackers] [slstatus] Remove non-portable functions from config.def.h || Aaron Marcher

From: <git_AT_suckless.org>
Date: Mon, 16 Apr 2018 19:09:12 +0200 (CEST)

commit 97ef7c2a1d67bb2c9c379e657fbc8e35acd6aafb
Author: Aaron Marcher <me_AT_drkhsh.at>
AuthorDate: Mon Apr 16 19:09:07 2018 +0200
Commit: Aaron Marcher <me_AT_drkhsh.at>
CommitDate: Mon Apr 16 19:09:07 2018 +0200

    Remove non-portable functions from config.def.h

diff --git a/config.def.h b/config.def.h
index 6370008..1e3be56 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -51,7 +51,5 @@ static const char unknown_str[] = "n/a";
  */
 static const struct arg args[] = {
         /* function format argument */
- { cpu_perc, "[CPU %3s%%] ", NULL },
- { ram_perc, "[RAM %2s%%] ", NULL },
- { datetime, "[ %s ]", "%F %T" },
+ { datetime, "%s", "%F %T" },
 };
Received on Mon Apr 16 2018 - 19:09:12 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 16 2018 - 19:12:24 CEST