diff --git a/src/Dashboard.qml b/src/Dashboard.qml index 643e025..c7d9614 100644 --- a/src/Dashboard.qml +++ b/src/Dashboard.qml @@ -123,6 +123,7 @@ PanelWindow { Text { text: "brightness" + visible: NyshState.binBrightnessctl } Slider { diff --git a/src/widgets/battery/Battery.qml b/src/widgets/battery/Battery.qml index 8499a9e..dec20e4 100644 --- a/src/widgets/battery/Battery.qml +++ b/src/widgets/battery/Battery.qml @@ -4,7 +4,7 @@ import QtQuick import QtQuick.Layouts BRectangle { - visible: UPower.displayDevice != null + visible: UPower.displayDevice.ready height: width * 2 Rectangle {