aboutsummaryrefslogtreecommitdiff
path: root/rsblocks.yml
diff options
context:
space:
mode:
authorMustafa Salih <37256744+MustafaSalih1993@users.noreply.github.com>2021-05-12 16:46:48 +0300
committerGitHub <noreply@github.com>2021-05-12 16:46:48 +0300
commitb1d81bf8c936509b6f83b2eac98da8ae72e0a4e3 (patch)
tree50106d4dfd76ff20ae57d22be922bc5dc5983c9e /rsblocks.yml
parent674f6811fe43dd0949052e225bf4c91a63de323e (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.yml13
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: ''