From 2027fc92b478b56075a2726761ba8e3c95156ff4 Mon Sep 17 00:00:00 2001 From: Damocles Date: Thu, 16 Apr 2026 00:09:57 +0200 Subject: [PATCH] remove per-module hover glow, bargroup handles it now --- modules/BarIcon.qml | 10 ---------- modules/BarLabel.qml | 10 ---------- modules/BarSection.qml | 10 ---------- 3 files changed, 30 deletions(-) diff --git a/modules/BarIcon.qml b/modules/BarIcon.qml index 0bbb578..4ea736d 100644 --- a/modules/BarIcon.qml +++ b/modules/BarIcon.qml @@ -1,5 +1,4 @@ import QtQuick -import QtQuick.Effects import Quickshell import "." as M @@ -54,15 +53,6 @@ Text { font.family: root.font.family } - layer.enabled: _hovered && !(parent && parent._hovered === true) - layer.effect: MultiEffect { - shadowEnabled: true - shadowColor: M.Theme.base05 - shadowBlur: 0.5 - shadowVerticalOffset: 0 - shadowHorizontalOffset: 0 - } - HoverHandler { onHoveredChanged: { root._hovered = hovered; diff --git a/modules/BarLabel.qml b/modules/BarLabel.qml index ba6dd5e..5d8ff03 100644 --- a/modules/BarLabel.qml +++ b/modules/BarLabel.qml @@ -1,5 +1,4 @@ import QtQuick -import QtQuick.Effects import Quickshell import "." as M @@ -25,15 +24,6 @@ Text { font.family: root.font.family } - layer.enabled: _hovered && !(parent && parent._hovered === true) - layer.effect: MultiEffect { - shadowEnabled: true - shadowColor: M.Theme.base05 - shadowBlur: 0.5 - shadowVerticalOffset: 0 - shadowHorizontalOffset: 0 - } - HoverHandler { onHoveredChanged: { root._hovered = hovered; diff --git a/modules/BarSection.qml b/modules/BarSection.qml index fbc7dbb..54f46f0 100644 --- a/modules/BarSection.qml +++ b/modules/BarSection.qml @@ -1,5 +1,4 @@ import QtQuick -import QtQuick.Effects import Quickshell import "." as M @@ -15,15 +14,6 @@ Row { } } - layer.enabled: _hovered - layer.effect: MultiEffect { - shadowEnabled: true - shadowColor: M.Theme.base05 - shadowBlur: 0.5 - shadowVerticalOffset: 0 - shadowHorizontalOffset: 0 - } - HoverHandler { onHoveredChanged: { root._hovered = hovered;