summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorozpv <39195175+ozpv@users.noreply.github.com>2023-05-05 01:30:18 +0000
committerGitHub <noreply@github.com>2023-05-05 01:30:18 +0000
commit9e533dcb56f3d34a85b5ba7f279c2870ebcc4034 (patch)
tree2d8894929472113bd47a151e724d2de38d2be13f /config.h
parenta8eb66bddbb9b26f977b1fbc37437cc4444aa767 (diff)
init
Diffstat (limited to 'config.h')
-rw-r--r--config.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..7ec4b55
--- /dev/null
+++ b/config.h
@@ -0,0 +1,21 @@
+/* See LICENSE file for copyright and license details. */
+
+/* interval between updates (in ms) */
+const unsigned int interval = 1000;
+
+/* text to show if no value can be retrieved */
+static const char unknown_str[] = "n/a";
+
+/* maximum output string length */
+#define MAXLEN 2048
+
+static const struct arg args[] = {
+ /* function format argument */
+
+ /* WIFI { netspeed_rx, "%sB/s", "wlp3s0" }, */
+
+ { netspeed_rx, "[ %s B/s ]", "enp4s0" },
+ { run_command, "[ %s ]", "volume" },
+ { ram_perc, "[  %s%% ]", NULL },
+ { datetime, "  %s", "%a %b %d %r" },
+};