From 7f1b67d21cd4adc875311822e6e87ecb5ad806bf Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 11 Sep 2025 19:31:43 +0200 Subject: [PATCH] lock: hide battery display on desktops --- .config/quickshell/ii/modules/lock/LockSurface.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/quickshell/ii/modules/lock/LockSurface.qml b/.config/quickshell/ii/modules/lock/LockSurface.qml index 90dc1a83a..c917e3a66 100644 --- a/.config/quickshell/ii/modules/lock/LockSurface.qml +++ b/.config/quickshell/ii/modules/lock/LockSurface.qml @@ -1,5 +1,6 @@ import QtQuick import QtQuick.Layouts +import Quickshell.Services.UPower import qs import qs.services import qs.modules.common @@ -229,6 +230,7 @@ MouseArea { opacity: root.toolbarOpacity RowLayout { + visible: UPower.displayDevice.isLaptopBattery spacing: 6 Layout.fillHeight: true Layout.leftMargin: 10