import Quickshell // for PanelWindow import QtQuick // for Text import QtQuick.Controls import Quickshell.Io import Quickshell.Widgets ClippingWrapperRectangle { radius: 5 implicitWidth: 30; height: 30 Button { id: button text: "󰛨 " font.pointSize: 16 Process { id: idlent running: false command: ["hyprsunset", "-t", "4000"] onExited: { running = button.text == "󰛨 " ? false : true } } onClicked: { idlent.running = button.text == "󰛨 " ? true : false button.text = button.text == "󰛨 " ? "󱩌 " : "󰛨 " } implicitHeight: parent.height } }