Commit graph

6 commits

Author SHA1 Message Date
Ivailo Monev
921e8fdb6f kfreespace: skip free space check for devices that are not mounted
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-13 20:15:30 +03:00
Ivailo Monev
99cca218ec kfreespace: rework to be able to setup watch for devices that are not mounted yet
to be able to watch devices that may be mounted and unmounted at any time
such as removable devices

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-13 19:53:01 +03:00
Ivailo Monev
8dbfa6c2f4 kfreespace: use the device description in the notification
it's fancy alright:
https://ibb.co/vzqTzsF

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-13 18:59:10 +03:00
Ivailo Monev
84745c78d7 kfreespace: correct KCM class comment
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-13 18:08:09 +03:00
Ivailo Monev
c44c42d306 kfreespace: remove redundant checks if device is storage volume
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-13 18:05:26 +03:00
Ivailo Monev
3ad56ec0b3 generic: free space notifier rewrite
able to watch any mounted device, not just the home directory. bonus
points for configuration interface that does not show up only when the
device used to store the home directory is low on space

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-13 17:34:13 +03:00