Compare commits
1 Commits
44d111f8db
...
33e64a6540
| Author | SHA1 | Date | |
|---|---|---|---|
| 33e64a6540 |
@@ -56,10 +56,10 @@
|
|||||||
char *state;
|
char *state;
|
||||||
char *symbol;
|
char *symbol;
|
||||||
} map[] = {
|
} map[] = {
|
||||||
{ "Charging", "+" },
|
{ "Charging", "\U000f008f" },
|
||||||
{ "Discharging", "-" },
|
{ "Discharging", "\U000f008c" },
|
||||||
{ "Full", "o" },
|
{ "Full", "\U000f1210" },
|
||||||
{ "Not charging", "o" },
|
{ "Not charging", "\U000f0079" },
|
||||||
};
|
};
|
||||||
size_t i;
|
size_t i;
|
||||||
char path[PATH_MAX], state[12];
|
char path[PATH_MAX], state[12];
|
||||||
|
|||||||
13
config.h
13
config.h
@@ -64,6 +64,15 @@ 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", "%Y-%m-%d %k:%M" },
|
||||||
|
{ run_command, " | ", NULL },
|
||||||
|
{ battery_perc, "%s%%", "BAT0" },
|
||||||
|
{ run_command, " ", NULL },
|
||||||
|
{ battery_state, "%s", "BAT0" },
|
||||||
|
{ run_command, " | ", NULL },
|
||||||
|
{ battery_perc, "%s%%", "BAT1" },
|
||||||
|
{ run_command, " ", NULL },
|
||||||
|
{ battery_state, "%s", "BAT1" },
|
||||||
|
{ run_command, " ", NULL },
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user