Commit graph

13 commits

Author SHA1 Message Date
Ivailo Monev
42c66da3f2 generic: consistent copyright statements
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-20 04:07:15 +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
48c9f4c366 kfreespace: correct application name in KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-25 19:38:45 +03:00
Ivailo Monev
789d354b81 kcontrol: use BorderlessMaximizedWindows config key to decide the workspace form factor
disabling plasma-desktop should never be done for Katana session even tho
it can be done because it is started from XDG autostart file

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-16 14:21:07 +03:00
Ivailo Monev
8bc8384cff kfreespace: show message that no storage devices are found when that is the case
much like the joystick KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-21 23:20:55 +03:00
Ivailo Monev
7048e8e31b kcontrol: mark KCMMetaInfo::load() and KCMMetaInfo::save() methods as slots
they are virtual slots in KCModule

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-19 21:51:47 +03:00
Ivailo Monev
ce48bc0997 generic: preperations for kdelibs changes
automatically replaced via:
find -name CMakeLists.txt -exec sed -e 's|${KDE4_PLASMA_LIBS}|KDE4::plasma|g' -e 's|${KDE4_KIO_LIBS}|KDE4::kio|g' -e 's|${KDE4_SOLID_LIBS}|KDE4::solid|g' -e 's|${KDE4_KFILE_LIBS}|KDE4::kfile|g' -e 's|${KDE4_KDECORE_LIBS}|KDE4::kdecore|g' -e 's|${KDE4_KDEUI_LIBS}|KDE4::kdeui|g' -e 's|${KDE4_KCMUTILS_LIBS}|KDE4::kcmutils|g' -e 's|${KDE4_KDECLARATIVE_LIBS}|KDE4::kdeclarative|g' -e 's|${KDE4_KPTY_LIBS}|KDE4::kpty|g' -e 's|${KDE4_KEMAIL_LIBS}|KDE4::kemail|g' -e 's|${KDE4_KMEDIAPLAYER_LIBS}|KDE4::kmediaplayer|g' -e 's|${KDE4_KPARTS_LIBS}|KDE4::kparts|g' -e 's|${KDE4_KIDLETIME_LIBS}|KDE4::kidletime|g' -e 's|${KDE4_KTEXTEDITOR_LIBS}|KDE4::ktexteditor|g' -e 's|${KDE4_KPASSWDSTORE_LIBS}|KDE4::kpasswdstore|g' -e 's|${KDE4_KARCHIVE_LIBS}|KDE4::karchive|g' -e 's|${KDE4_KDNSSD_LIBS}|KDE4::kdnssd|g' -e 's|${KDE4_KNOTIFYCONFIG_LIBS}|KDE4::knotifyconfig|g' -e 's|${KDE4_KEXIV2_LIBS}|KDE4::kexiv2|g' -i {} +

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 23:27:11 +03:00
Ivailo Monev
bf7b683a2e kfreespace: minor optimizations
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-14 02:13:55 +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
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