feat: add an own lock screen with the bubble and your wallpaper

This commit is contained in:
Felitendo committed 2026-09-26 19:35:41 +02:00
1 parent c693ca216c
commit c228291520
44 files changed
+3891 -1033

No files matched your search

+5 -1
View File
@@ -26,13 +26,16 @@
class BubbleController;
class DaemonRequest;
class LockScreenController;
class SessionLock;
class UserConfig;
class LockController : public QObject
{
Q_OBJECT
public:
LockController(BubbleController *bubble, UserConfig *config, QObject *parent = nullptr);
// lock and screen are face-unlock's own lock screen, where there is one.
LockController(BubbleController *bubble, UserConfig *config, SessionLock *lock, LockScreenController *screen, QObject *parent = nullptr);
bool locked() const
{
@@ -53,6 +56,7 @@ private:
BubbleController *m_bubble;
UserConfig *m_config;
LockScreenController *m_screen;
bool m_locked = false;
bool m_stopped = false;
QElapsedTimer m_lockedFor;