Custom config
This commit is contained in:
parent
f68f49273e
commit
42fe9e1ea2
13
config.def.h
13
config.def.h
@ -1,10 +1,10 @@
|
|||||||
/* See LICENSE file for copyright and license details. */
|
/* See LICENSE file for copyright and license details. */
|
||||||
|
|
||||||
/* interval between updates (in ms) */
|
/* interval between updates (in ms) */
|
||||||
const unsigned int interval = 1000;
|
const unsigned int interval = 3000;
|
||||||
|
|
||||||
/* text to show if no value can be retrieved */
|
/* text to show if no value can be retrieved */
|
||||||
static const char unknown_str[] = "n/a";
|
static const char unknown_str[] = "-";
|
||||||
|
|
||||||
/* maximum output string length */
|
/* maximum output string length */
|
||||||
#define MAXLEN 2048
|
#define MAXLEN 2048
|
||||||
@ -65,5 +65,12 @@ static const char unknown_str[] = "n/a";
|
|||||||
*/
|
*/
|
||||||
static const struct arg args[] = {
|
static const struct arg args[] = {
|
||||||
/* function format argument */
|
/* function format argument */
|
||||||
{ datetime, "%s", "%F %T" },
|
{ ipv4, "直 %s", "wlan0" },
|
||||||
|
{ wifi_essid, " %s | ", "wlan0" },
|
||||||
|
{ ipv4, " %s | ", "eth0" },
|
||||||
|
{ battery_perc, " %s", "BAT0" },
|
||||||
|
{ battery_state, " %s | ", "BAT0" },
|
||||||
|
{ keymap, " %s", NULL },
|
||||||
|
{ keyboard_indicators, " %s | ", "c?" },
|
||||||
|
{ datetime, "%s |", "%F %a %H:%M" },
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user