From 57c6e7340d16b14d61f9e3361ca4940f53dfcafa Mon Sep 17 00:00:00 2001 From: drkhsh Date: Wed, 23 Nov 2022 23:59:51 +0100 Subject: New component: cat Generically reads an arbitrary file natively. Saves a few layers of execution in comparison to using `run_command` with an argument like `cat ./file`. --- config.def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 5f6c114..90b57a1 100644 --- a/config.def.h +++ b/config.def.h @@ -18,6 +18,7 @@ static const char unknown_str[] = "n/a"; * NULL on OpenBSD/FreeBSD * battery_remaining battery remaining HH:MM battery name (BAT0) * NULL on OpenBSD/FreeBSD + * cat read arbitrary file path * cpu_perc cpu usage in percent NULL * cpu_freq cpu frequency in MHz NULL * datetime date and time format string (%F %T) -- cgit v1.2.3