diff options
author | drkhsh <me@drkhsh.at> | 2022-11-23 23:59:51 +0100 |
---|---|---|
committer | drkhsh <me@drkhsh.at> | 2022-11-24 00:01:52 +0100 |
commit | 57c6e7340d16b14d61f9e3361ca4940f53dfcafa (patch) | |
tree | b48e7e6444ee78d68a0994389a3709027019ec26 /config.def.h | |
parent | 4bd78c94ba90d67a268c092231b85037c94a339a (diff) | |
download | slstatus-57c6e7340d16b14d61f9e3361ca4940f53dfcafa.tar.gz |
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`.
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) |