Added battery percentages
This commit is contained in:
10
config.h
10
config.h
@@ -64,8 +64,10 @@ static const char unknown_str[] = "n/a";
|
|||||||
* wifi_perc WiFi signal in percent interface name (wlan0)
|
* wifi_perc WiFi signal in percent interface name (wlan0)
|
||||||
*/
|
*/
|
||||||
static const struct arg args[] = {
|
static const struct arg args[] = {
|
||||||
/* function format argument */
|
/* function format argument */
|
||||||
{ datetime, "%s", "%F %T" },
|
{ datetime, "%s", "%F %T" },
|
||||||
{ battery_perc, "%s%%", "BAT0"},
|
{ battery_perc, " %s%%", "BAT0"},
|
||||||
{ battery_perc, "%s%%", "BAT1"},
|
{ battery_state, " %s%%", "BAT0"},
|
||||||
|
{ battery_perc, " | %s%%", "BAT1"},
|
||||||
|
{ battery_state, " %s%%", "BAT1"},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user