Commit graph

7 commits

Author SHA1 Message Date
Ivailo Monev
242c0539cf kfreespace: use the static KNotification::event() method for notification
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-08 19:40:47 +03:00
Ivailo Monev
a2a41e4e5d kfreespace: default to 1/10 of the total space
credits to Benjamin Grant for making me do it, fallback is still 1 GB and
the configuration interface remains the same but the default should fit
more cases now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-03 06:02:36 +02:00
Ivailo Monev
f47177f876 generic: adjust to KNotification changes
some notification files, such as the style KCM one, were not even used

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-25 08:07:58 +03:00
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
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