bdwmb/doc/MODULE_UPTIME.md
Ari Archer df4a3c1dc7
update @ Sat 19 Mar 17:14:52 EET 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-03-19 17:14:52 +02:00

472 B

Module - uptime

This module shows your machine uptime

NAME: uptime
DEPENDENCIES: uptime, awk, date, $UPFORMAT
TYPE: Shellscript

Setup

Add the uptime module to your modules list and make sure you have awk, date (provided by coreutils) and uptime installed (provided by procps)

And then add $UPFORMAT to your config.sh to define the format the uptime will be showed in (will be passed to date), for example:

export UPFORMAT='%H:%M:%S'