summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKalagmitan <121934419+Kalagmitan@users.noreply.github.com>2026-03-15 14:49:37 +0800
committerGitHub <noreply@github.com>2026-03-15 17:49:37 +1100
commitdd2d7dceabc25fc667db59dec8fe0dd253b15ad1 (patch)
tree41a270d230081c4b7e7bcb250665064b12a120c1 /modules
parentfix: missing serialization for hiddenIcons (#1263) (diff)
downloadcaelestia-shell-dd2d7dceabc25fc667db59dec8fe0dd253b15ad1.tar.gz
caelestia-shell-dd2d7dceabc25fc667db59dec8fe0dd253b15ad1.tar.bz2
caelestia-shell-dd2d7dceabc25fc667db59dec8fe0dd253b15ad1.zip
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
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions