summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell-plugins/Systemd.hpp
blob: f884151868e6f7ca8b75da21c32b11e94b474e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <QObject>
#include <QtQmlIntegration/qqmlintegration.h>

class Systemd : public QObject {
  Q_OBJECT;
  QML_SINGLETON;
  QML_ELEMENT;

public:
  Q_INVOKABLE void stopUserUnit(const QString& unit, const QString& mode);
  Q_INVOKABLE void setBrightness(const QString& subsystem, const QString& name, quint32 brightness);
};