4 Commits

Author SHA1 Message Date
admin 277cd6915b fix: bump version to 1.3 2026-04-19 11:15:29 -04:00
admin f98cd558cc fix: use idle+iowait for accurate CPU usage, bump to 1.3 2026-04-19 11:15:29 -04:00
admin 79abd20615 Refactor badge section in README.md
Removed extra line breaks and consolidated badge links.
2026-03-31 09:39:37 -04:00
admin 74c4882ec7 Fix GitHub Release badge link in README
Updated GitHub Release badge to link to the latest release.
2026-03-31 09:36:35 -04:00
3 changed files with 3 additions and 8 deletions
+1 -6
View File
@@ -6,12 +6,7 @@
> A KDE Plasma 6 **panel/taskbar widget** displaying live weather and system stats in a single compact bar. Designed to sit in your top or bottom panel — not a desktop widget.
![Plasma 6](https://img.shields.io/badge/Plasma-6.0+-blue) ![License](https://img.shields.io/badge/License-GPL--2.0-green) ![Version](https://img.shields.io/badge/Version-1.2-orange)
[![GitHub Release](https://img.shields.io/github/v/release/samjage/Weather-and-Stats)](https://github.com/samjage/weather-and-stats/releases/tag/stats)
[![GitHub Downloads (latest)](https://img.shields.io/github/downloads/samjage/Weather-and-Stats/latest/total?style=flat&logo=github)](https://github.com/samjage/Weather-and-Stats/releases/latest)
[![GitHub stars](https://img.shields.io/github/stars/samjage/Uplink-Manager?style=flat&logo=github)](https://github.com/samjage/Uplink-Manager/stargazers)
![Plasma 6](https://img.shields.io/badge/Plasma-6.0+-blue) ![License](https://img.shields.io/badge/License-GPL--2.0-green) [![GitHub Release](https://img.shields.io/github/v/release/samjage/Weather-and-Stats)](https://github.com/samjage/weather-and-stats/releases/latest) [![GitHub Downloads (latest)](https://img.shields.io/github/downloads/samjage/Weather-and-Stats/latest/total?style=flat&logo=github)](https://github.com/samjage/Weather-and-Stats/releases/latest) [![GitHub stars](https://img.shields.io/github/stars/samjage/Uplink-Manager?style=flat&logo=github)](https://github.com/samjage/Uplink-Manager/stargazers)
---
<p align="center">
+1 -1
View File
@@ -33,7 +33,7 @@ IFACE=$(awk 'NR>2{gsub(/:$/,"",$1); if($1!="lo") print $1, ($2+0)+($10+0)}' /pro
[ -z "$IFACE" ] && IFACE="lo"
# Helper functions for sampling
get_cpu() { awk 'NR==1{t=0; for(i=2;i<=NF;i++) t+=$i; print t, $6}' /proc/stat; }
get_cpu() { awk 'NR==1{t=0; for(i=2;i<=NF;i++) t+=$i; print t, $5+$6}' /proc/stat; }
get_net() { awk -v d="$IFACE:" '$1==d{print $2, $10}' /proc/net/dev; }
# First samples
+1 -1
View File
@@ -4,7 +4,7 @@
"Description": "Live weather and system stats for the KDE panel",
"Icon": "weather-and-stats",
"Id": "com.github.samjage.weatherstats",
"Version": "1.2",
"Version": "1.3",
"License": "GPL-2.0",
"Category": "System Information",
"Authors": [