Custom config
This commit is contained in:
parent
f68f49273e
commit
42fe9e1ea2
15
config.def.h
15
config.def.h
@ -1,10 +1,10 @@
|
||||
/* See LICENSE file for copyright and license details. */
|
||||
|
||||
/* interval between updates (in ms) */
|
||||
const unsigned int interval = 1000;
|
||||
const unsigned int interval = 3000;
|
||||
|
||||
/* 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 */
|
||||
#define MAXLEN 2048
|
||||
@ -64,6 +64,13 @@ 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" },
|
||||
/* function format argument */
|
||||
{ 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