diff options
author | Mustafa Salih <37256744+MustafaSalih1993@users.noreply.github.com> | 2021-05-12 16:46:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-12 16:46:48 +0300 |
commit | b1d81bf8c936509b6f83b2eac98da8ae72e0a4e3 (patch) | |
tree | 50106d4dfd76ff20ae57d22be922bc5dc5983c9e /rsblocks.yml | |
parent | 674f6811fe43dd0949052e225bf4c91a63de323e (diff) |
getting data programmatically (#56)
* getting loadavg programmatically
* added missing uptime in rsblock.yml
* using clock_gettime syscall to get uptime
Diffstat (limited to 'rsblocks.yml')
-rw-r--r-- | rsblocks.yml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/rsblocks.yml b/rsblocks.yml index 32902be..f730df6 100644 --- a/rsblocks.yml +++ b/rsblocks.yml @@ -11,6 +11,13 @@ time: icon: '' +# Time of the system has been running +uptime: + delay: 15.0 + enabled: false + icon: '' + + # public ip address pub_ip: delay: 120.0 @@ -18,7 +25,7 @@ pub_ip: icon: '' -# ethernet/wifi bandwith +# ethernet/wifi bandwith (no delay for this since it will calculate the bandwith every second) netspeed: enabled: false interface: 'wlan0' @@ -50,9 +57,9 @@ cpu_temperature: icon: '' -# cpu load average +# cpu load average from the last minute loadavg: - delay: 2.0 + delay: 15.0 enabled: false icon: '' |