diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-08 20:00:22 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-08 20:00:22 +0200 |
commit | 8a551339cbfaf106ac7d6f1ca5230196be539167 (patch) | |
tree | 20dd3cb9f12dd94fa22fcd2d866c3cf586f8931a /accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp | |
parent | 14d4d05acc235ab7033316d16530783c90e95faa (diff) | |
download | nixos-8a551339cbfaf106ac7d6f1ca5230196be539167.tar nixos-8a551339cbfaf106ac7d6f1ca5230196be539167.tar.gz nixos-8a551339cbfaf106ac7d6f1ca5230196be539167.tar.bz2 nixos-8a551339cbfaf106ac7d6f1ca5230196be539167.tar.xz nixos-8a551339cbfaf106ac7d6f1ca5230196be539167.zip |
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp')
-rw-r--r-- | accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
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 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include <QObject> | ||
4 | #include <QtQmlIntegration/qqmlintegration.h> | ||
5 | |||
6 | class Systemd : public QObject { | ||
7 | Q_OBJECT; | ||
8 | QML_SINGLETON; | ||
9 | QML_ELEMENT; | ||
10 | |||
11 | public: | ||
12 | Q_INVOKABLE void stopUserUnit(const QString& unit, const QString& mode); | ||
13 | }; | ||