Fix sysmon SplitParser onRead, add Dolphin keybind note
swadhinbiswas committed 2 months ago
17073d0
1 parent 2b98552
commit 17073d0
1 file changed
+1 -1
Showing 1 changed file+1-1
▼shell/plugins/sysmon/BarWidget.qml
+1-1
| @@ -22,7 +22,7 @@ BarWidget { | ||
22 | 22 | running: true |
23 | 23 | command: ["bash", scriptPath] |
24 | 24 | stdout: SplitParser { |
25 | - onUpdate: function() { | |
25 | + onRead: function(line) { | |
26 | 26 | var m = proc.stdout.match(/C=(\d+) M=(\d+) D=(\d+) G=(\d+) RX=([\d.]+) TX=([\d.]+)/) |
27 | 27 | if (m) { |
28 | 28 | root.cpuPct = parseInt(m[1]) |
29 | 29 | |