rebasio
This commit is contained in:
@@ -56,10 +56,10 @@
|
||||
char *state;
|
||||
char *symbol;
|
||||
} map[] = {
|
||||
{ "Charging", "+" },
|
||||
{ "Discharging", "-" },
|
||||
{ "Full", "o" },
|
||||
{ "Not charging", "o" },
|
||||
{ "Charging", "\U000f008f" },
|
||||
{ "Discharging", "\U000f008c" },
|
||||
{ "Full", "\U000f1210" },
|
||||
{ "Not charging", "\U000f0079" },
|
||||
};
|
||||
size_t i;
|
||||
char path[PATH_MAX], state[12];
|
||||
|
||||
15
config.h
15
config.h
@@ -64,8 +64,15 @@ static const char unknown_str[] = "n/a";
|
||||
* wifi_perc WiFi signal in percent interface name (wlan0)
|
||||
*/
|
||||
static const struct arg args[] = {
|
||||
/* function format argument */
|
||||
{ datetime, "%s", "%F %T" },
|
||||
{ battery_perc, "%s%%", "BAT0"},
|
||||
{ battery_perc, "%s%%", "BAT1"},
|
||||
/* function format argument */
|
||||
{ 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