diff --git a/quickshell/Modules/ControlCenter/Widgets/ActionTile.qml b/quickshell/Modules/ControlCenter/Widgets/ActionTile.qml index 777459693..3e0d334de 100644 --- a/quickshell/Modules/ControlCenter/Widgets/ActionTile.qml +++ b/quickshell/Modules/ControlCenter/Widgets/ActionTile.qml @@ -10,6 +10,7 @@ CcTile { toggle: false active: finishing + tooltips: !finishing iconName: finishing ? "check" : widgetDef?.icon ?? "" title: widgetDef?.text ?? "" restIconColor: action === "power" ? Theme.error : CcMetrics.tileInactiveIcon diff --git a/quickshell/Modules/ControlCenter/Widgets/CcTile.qml b/quickshell/Modules/ControlCenter/Widgets/CcTile.qml index 510e0a199..9dd781dcf 100644 --- a/quickshell/Modules/ControlCenter/Widgets/CcTile.qml +++ b/quickshell/Modules/ControlCenter/Widgets/CcTile.qml @@ -58,6 +58,7 @@ Item { property bool available: true property bool interactive: true property bool iconBlinking: false + property bool tooltips: true property real iconRotation: 0 signal clicked @@ -207,7 +208,7 @@ Item { anchors.bottomMargin: root.expanded ? root.height - root.headerHeight - root.tilePadding * 2 : 0 stateColor: root.contentColor cornerRadius: root.bodyRadius - tooltipText: root.compact || root.docked ? [root.title, root.subtitle].filter(text => text !== "").join(" · ") : "" + tooltipText: root.tooltips && (root.compact || root.docked) ? [root.title, root.subtitle].filter(text => text !== "").join(" · ") : "" onClicked: root.activate() onPressAndHold: root.expand() onWheel: wheelEvent => {