pragma Singleton import Quickshell import Quickshell.Io import QtQuick Singleton { id: root property int brightness Process { command: ["brightctl", "-l"] running: true stdout: SplitParser { onRead: line => root.brightness = parseInt(line) } } }