Commit graph

20 commits

Author SHA1 Message Date
Ivailo Monev
fb686dc3c1 plasma: implement session manager
comes along with plenty of other changes

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-09 08:33:28 +03:00
Ivailo Monev
ff715bee6b generic: adjust to solid changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-30 05:39:37 +02:00
Ivailo Monev
649c7b8876 kcontrol: drop inhibition feature of randr module
screen inhibition based on monitor name and lid button presence sounds like
someone wanted X11 DPMS (which is automatic nowdays) on his laptop to me

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-29 05:43:06 +02:00
Ivailo Monev
7b8bc6b8ef generic: use the new public KTimerDialog
see the following commit in kdelibs repo:
e0d476372cd6a39a01cb8b70f31192e4d2d540c8

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-16 15:42:35 +03:00
Ivailo Monev
f1bf8ab528 kcontrol: remove display KCM
it is essentially container for other modules and all but the randr
module are not valid (not maintained as part of Katana)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-30 07:26:09 +03:00
Ivailo Monev
d8275d74e0 kcontrol: remove redundant check for org.freedesktop.PowerManagement in randr module
Solid::PowerManagement watches for the registration of the service
internally, note that it was checked if the service is registered on the
system bus but watched for registration on the session bus

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-09 06:23:41 +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
be89c3a277 generic: remove irrelevant TODO files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-05 03:15:13 +03:00
Ivailo Monev
fcbec5f0cc generic: adjust to solid power manager changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-01 23:54:21 +02:00
Ivailo Monev
b6405cb178 kcontrol: formant and indent randr KCM files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-03 14:20:15 +02:00
Ivailo Monev
609a72aa84 kcontrol: drop legacy configuration support in randr KCM
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-11-03 16:35:42 +02:00
Ivailo Monev
f28ca2226a kcontrol: adjust to Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-06-03 00:40:48 +03:00
Ivailo Monev
90d2eb50e6 kcontrol: remove check if lid is closed
since the randr module methods are not D-Bus exported there is (normally)
no way for a user to interact with the action and trigger display switch,
the system may even be suspended while the lid is closed. there is also the
case where the laptop screen is not used (external monitor is used), lid is
closed, the system is not suspended and a switch has to happen from the
external monitor to the laptop screen because the external monitor is
unplugged. the check is just bogus for many cases

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-28 09:01:05 +03:00
Ivailo Monev
6043f3e61b generic: drop powerdevil and adjust to power manager changes
TODO: reimplement plasma battery applet

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-04-20 06:51:10 +03:00
Ivailo Monev
6aaa5840bf kcontrol: use solid to check for lid presence
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-02-23 04:09:07 +02:00
Ivailo Monev
591b538337 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:13:13 +00:00
Ivailo Monev
f1cfe7bdba generic: replace KProcess with QProcess where feasable
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-30 16:22:26 +00:00
Ivailo Monev
c433e4502a generic: adjust for use with CMake moc 2015-02-27 09:28:46 +00:00
Ivailo Monev
24b6d92809 changed bash scripts shebangs 2014-11-15 05:48:13 +02:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00