From 43af16801fcbb7056a51ed5fd6539c74ff5c0379 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 12 Sep 2025 14:21:21 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp') diff --git a/accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp b/accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp index 84752d76..615024d2 100644 --- a/accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp +++ b/accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp @@ -28,6 +28,9 @@ public: Q_INVOKABLE void setBrightness(const QString& subsystem, const QString& name, quint32 brightness); Q_INVOKABLE void setIdleHint(bool idle); Q_INVOKABLE void setLockedHint(bool locked); + Q_INVOKABLE void lockSession(); + Q_INVOKABLE void suspend(); + Q_INVOKABLE void hibernate(); bool idleHint(); bool lockedHint(); -- cgit v1.2.3