diff options
Diffstat (limited to 'accounts/gkleen@sif')
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml b/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml index 52103c6f..c01169cd 100644 --- a/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml +++ b/accounts/gkleen@sif/shell/quickshell/Services/Brightness.qml | |||
| @@ -93,4 +93,13 @@ Singleton { | |||
| 93 | if (!root.onlyInternal) | 93 | if (!root.onlyInternal) |
| 94 | root.currBrightness = 1 | 94 | root.currBrightness = 1 |
| 95 | } | 95 | } |
| 96 | |||
| 97 | |||
| 98 | IpcHandler { | ||
| 99 | target: "Brightness" | ||
| 100 | |||
| 101 | function set(brightness: real): void { | ||
| 102 | root.currBrightness = brightness; | ||
| 103 | } | ||
| 104 | } | ||
| 96 | } | 105 | } |
