Commit graph

26 commits

Author SHA1 Message Date
2 * r + 2 * t
d0f2df9bae chore: fix all import formats 2026-03-22 06:02:19 +11:00
2 * r + 2 * t
3b08cd6594 chore: add newline after id 2026-03-20 04:42:06 +11:00
Kalagmitan
dd2d7dceab
systemusage: optimized storage aggregation and improved device filtering (#1261)
* refactor: Optimized storage aggregation

+ The storage aggregation logic doesn't account more complex storage
setups and relied too much on risky string parsing to guess where
partitions are. For example, in my case, I had a LUKS-encrypted drive
which lives inside a "crypt," because it couldn't match the type (it
only matched "disk" and "part"), it did not include my entire drive at
all. Also, Linux devices names aren't always predictable (take mapper
devices or complex NVMe paths), so if the RegEx doesn't match the name
of those devices, the data just dissapears.

I decided to go for a JSON approach making the code shorter and safer.

Everything should work about the same.

* systemusage: More intuitive filtering for storage devices

+ Removes "useless" drives from being show on the storage dashboard
+ Prioritizes the root disk to be shown first

* refactor: formatted code properly
2026-03-15 17:49:37 +11:00
2 * r + 2 * t
8812073ab1 systemusage: combine chained replace calls into single regex 2026-03-12 22:22:41 +11:00
Bilal Özel
0d56db3b6c
systemusage: improve GPU detection for AMD RX series GPU (#1246)
* SystemUsage:improve GPU-Detection for AMD RX series GPU

updated the gpuNameDetect command with glxinfo to fix gpu name detection

* SystemUsage: adjust lspci command to detect graphics card better

* SystemUsage: adjust regex to extract name out of last bracket

* clean less

* no need xargs

---------

Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
2026-03-10 01:33:33 +11:00
Thanh Minh
46174d1934
dashboard/performance: new design, configurable, controlcenter support (#975)
* feat(dashboard): add configurable performance resources

- Add config options to show/hide Battery, GPU, CPU, Memory, Storage
- Make dashboard responsive based on number of visible resources
- Scale resource sizes and spacing dynamically for 3, 4, or 5 items
- Battery shows charge status and time remaining/to full
- Each resource can be individually toggled via config

* fix(dashboard): add dynamic right margin for last visible resource

Ensures the rightmost resource always has proper margin to prevent
content from being cut off at the edge

* fix(performance): comment out duplicated value2 properties for memory and storage resources

* controlcenter: add settings for dashboard

* feat: handle readonly properties and re-usable codes

* Feature/performance tab rework (#5)

* dashboard/performance: rework tab with card-based grid layout

- Replace circular arc meters with card-based grid layout
- CPU/GPU cards show hardware name, usage and temperature with horizontal bars
- Memory card with 3/4 arc indicator and used/total at bottom
- Storage card shows physical disks from lsblk with aggregated partition usage
- Add cpuName, gpuName, cpuFreq, cpuMaxFreq, disks properties to SystemUsage
- Clean hardware names (remove Intel/AMD/NVIDIA prefixes, TM/R symbols)

* dashboard/performance: new hero card design

* dashboard/performance: update storage indicators to be reponsive to the physical disks count

* dashboard/performance: fix the overlay bounding issue

* dashboard/perfromance: refactor code

* dashboard/performance: add battery gauge

* dashboard/performance: correct battery icon

* dashboard/performance: configurable battery

* dashboard/performance: update layout

* dashboard/performance: move the "Usage" text on top and smaller the font size

* dashboard/performance: add a lot of configurations

* dashboard/performance: add network metrics

* fix: issue with hot reload

* chore: update default vaule for mainValueSpacing to 0

* chore: group settings into collapasible sections

* chore: making GPU & Battery toggle not showing if not found

* chore: fix network widget spacing & text

* chore: remove old disk bars configs, add update interval

* chore: remove old & unused value, functions

* chore: network graph update smoothly when data points change

* chore: refactor settings

- de-flood settings, most of the font & size setting now follow the
global Appearance config
- Most of sliders are not needed anymore, only keep the update interval
slider
- clean up

* chore: remove readonly properties from the controlcenter/dashboard.

* chore: minor fix

* fix: fix warning about onPercChange()

* fix: network metrics negative number

* fix: add minimal height & width, placeholder for none toggled

* fix: network graph move smoothly (#6)

* fix: network graph move smoothly

* clean up

* fix: graph animation even more smooth

* fix: padding issue

* chore: network icons short description

* fix

---------

Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
2026-02-19 22:53:22 +11:00
2 * r + 2 * t
842249e05a config: add gpu type config 2025-08-25 17:37:04 +10:00
Mix
d75ac8ef35
services: fix proc lang (#454)
* Fix Wifi Emoji 

ASCII not show wifi emojis and gets errors on connect in some systens, C.UTF-8 are correct in modern systens

* removed platform check

* more fixes

---------

Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
2025-08-23 20:56:37 +10:00
2 * r + 2 * t
f0ba90d784 systemusage: reorder gpu detection
Try novideo first
Fixes #329
2025-08-04 21:23:19 +10:00
2 * r + 2 * t
9f0c2cbda4 internal: more explicit 2025-06-28 22:40:34 +10:00
2 * r + 2 * t
40b43a49ab dashboard: optimise systemusage
Ref same way as cava
2025-06-28 22:35:49 +10:00
2 * r + 2 * t
3f981680ef systemusage: fix integer overflow 2025-06-25 01:06:45 +10:00
2 * r + 2 * t
cebb6270e4 systemusage: add fallback for amd gpus
If they dont have edge, try use junction/mem
2025-06-25 00:54:38 +10:00
Alex Castañeiras Bueno
9c4cab53b8
systemusage: add NVIDIA GPU support to performance metrics (#156)
* systemusage: add NVIDIA GPU support to performance metrics

* some fixes

---------

Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
2025-06-25 00:49:33 +10:00
Alexandre C.
9c0223da60
[typo] cpuTemp bad declaration (#151)
As the variable cpuTemp can now be used later in the if block for the fallback, need to change the declaration so that the variable is unique and used in two different blocks.

Const will redeclare it.. My bad on this
2025-06-24 12:47:29 +10:00
Alexandre C.
113134d61d
systemusage: fix CPU temps for AMD CPUs (#150) 2025-06-24 11:02:07 +10:00
2 * r + 2 * t
8a03505846 systemusage: fix gpu temp 2025-06-23 18:41:15 +10:00
2 * r + 2 * t
7f2b5b4b6f systemusage: use sensors for cpu temps
Also fix lang and lc_all for procs
2025-06-22 13:22:45 +10:00
2 * r + 2 * t
b80b531e88 systemusage: fix cpu calculation
Fixes #79
2025-06-20 00:25:00 +10:00
2 * r + 2 * t
05e9561fd6 internal: use stdiocollector
Removes dependency on jq
Also fix beatdetector
2025-06-15 15:43:50 +10:00
ko1N
a2531a588f Fix disk usage when using lvm 2025-06-10 19:25:58 +02:00
2 * r + 2 * t
49ce8f68a6 systemusage: fix gpu temp 2025-06-04 17:46:46 +10:00
2 * r + 2 * t
2054708406 dashboard: fix performance gpu stats 2025-06-02 21:25:47 +10:00
2 * r + 2 * t
e8a2d861fb systemusage: actually run gpu procs 2025-05-28 23:59:07 +08:00
2 * r + 2 * t
ea573554d4 feat: dashboard performance panel 2025-05-28 23:56:44 +08:00
2 * r + 2 * t
35994f7308 dashboard: resources 2025-05-19 21:03:34 +08:00