*
* 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 (/)
* 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 */
/* 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);
/* 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);