Commit graph

9 commits

Author SHA1 Message Date
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
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
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
a7fd791926 initial import 2014-11-13 19:30:51 +02:00