feat: support gnome, hyprland and niri

This commit is contained in:
Felitendo committed 2026-09-25 09:29:42 +02:00
1 parent bccd1f5510
commit eaec9325af
48 files changed
+4030 -2131

No files matched your search

+7
View File
@@ -51,6 +51,13 @@ QString AgentSocket::path()
return QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) + QStringLiteral("/face-unlock/agent.socket");
}
bool AgentSocket::running()
{
QLocalSocket probe;
probe.connectToServer(path());
return probe.waitForConnected(500);
}
bool AgentSocket::listen()
{
const QString p = path();