From 8a551339cbfaf106ac7d6f1ca5230196be539167 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 8 Sep 2025 20:00:22 +0200 Subject: ... --- accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp (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 new file mode 100644 index 00000000..883a96f3 --- /dev/null +++ b/accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp @@ -0,0 +1,13 @@ +#pragma once + +#include +#include + +class Systemd : public QObject { + Q_OBJECT; + QML_SINGLETON; + QML_ELEMENT; + +public: + Q_INVOKABLE void stopUserUnit(const QString& unit, const QString& mode); +}; -- cgit v1.2.3