summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h8
-rw-r--r--slstatus.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/config.def.h b/config.def.h
index 2fc2557..d805331 100644
--- a/config.def.h
+++ b/config.def.h
@@ -14,13 +14,13 @@ static const char unknown_str[] = "n/a";
*
* battery_perc battery percentage battery name (BAT0)
* NULL on OpenBSD/FreeBSD
- * battery_state battery charging state battery name (BAT0)
- * NULL on OpenBSD/FreeBSD
* battery_remaining battery remaining HH:MM battery name (BAT0)
* NULL on OpenBSD/FreeBSD
+ * battery_state battery charging state battery name (BAT0)
+ * NULL on OpenBSD/FreeBSD
* cat read arbitrary file path
- * cpu_perc cpu usage in percent NULL
* cpu_freq cpu frequency in MHz NULL
+ * cpu_perc cpu usage in percent NULL
* datetime date and time format string (%F %T)
* disk_free free disk space in GB mountpoint path (/)
* disk_perc disk usage in percent mountpoint path (/)
@@ -60,8 +60,8 @@ static const char unknown_str[] = "n/a";
* username username of current user NULL
* vol_perc OSS/ALSA volume in percent mixer file (/dev/mixer)
* NULL on OpenBSD/FreeBSD
- * wifi_perc WiFi signal in percent interface name (wlan0)
* wifi_essid WiFi ESSID interface name (wlan0)
+ * wifi_perc WiFi signal in percent interface name (wlan0)
*/
static const struct arg args[] = {
/* function format argument */
diff --git a/slstatus.h b/slstatus.h
index f062e73..8ef5874 100644
--- a/slstatus.h
+++ b/slstatus.h
@@ -2,8 +2,8 @@
/* battery */
const char *battery_perc(const char *);
-const char *battery_state(const char *);
const char *battery_remaining(const char *);
+const char *battery_state(const char *);
/* cat */
const char *cat(const char *path);
@@ -73,12 +73,12 @@ const char *uptime(const char *unused);
/* user */
const char *gid(const char *unused);
-const char *username(const char *unused);
const char *uid(const char *unused);
+const char *username(const char *unused);
/* volume */
const char *vol_perc(const char *card);
/* wifi */
-const char *wifi_perc(const char *interface);
const char *wifi_essid(const char *interface);
+const char *wifi_perc(const char *interface);