mirror of
https://github.com/samjage/weather-and-stats.git
synced 2026-06-06 00:20:42 +00:00
Update README.md
Formatting
This commit is contained in:
@@ -88,9 +88,11 @@ Right-click the widget → **Configure Weather && Stats**
|
|||||||
|
|
||||||
Weather is fetched via `XMLHttpRequest` — no API key, no account needed. [Open-Meteo](https://open-meteo.com/) is free for non-commercial use.
|
Weather is fetched via `XMLHttpRequest` — no API key, no account needed. [Open-Meteo](https://open-meteo.com/) is free for non-commercial use.
|
||||||
|
|
||||||
System stats come from `contents/stats.sh`, a small shell script the widget runs on a timer.
|
---
|
||||||
It takes two `/proc/stat` samples 1 second apart to calculate CPU usage and reads `/proc/net/dev` for network throughput.
|
|
||||||
No external dependencies beyond standard Linux interfaces.
|
> System stats come from `contents/stats.sh`, a small shell script the widget runs on a timer.
|
||||||
|
> It takes two `/proc/stat` samples 1 second apart to calculate CPU usage and reads `/proc/net/dev` for network throughput.
|
||||||
|
> No external dependencies beyond standard Linux interfaces.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user