diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-24 14:06:02 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-24 14:06:02 +0800 |
| commit | 9f55a6d0aa11652d7ea65bf50f5d6f8a77b25b0d (patch) | |
| tree | e4b68421ae4fd40b8eecc807367e5d3365b3b7cc /modules/bar/components/TrayItem.qml | |
| parent | internal: fix null errors (diff) | |
| download | caelestia-shell-9f55a6d0aa11652d7ea65bf50f5d6f8a77b25b0d.tar.gz caelestia-shell-9f55a6d0aa11652d7ea65bf50f5d6f8a77b25b0d.tar.bz2 caelestia-shell-9f55a6d0aa11652d7ea65bf50f5d6f8a77b25b0d.zip | |
bar: better colours
Diffstat (limited to 'modules/bar/components/TrayItem.qml')
| -rw-r--r-- | modules/bar/components/TrayItem.qml | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/modules/bar/components/TrayItem.qml b/modules/bar/components/TrayItem.qml index 202c8bf..b8e5d42 100644 --- a/modules/bar/components/TrayItem.qml +++ b/modules/bar/components/TrayItem.qml @@ -6,13 +6,11 @@ import Quickshell import Quickshell.Widgets import Quickshell.Services.SystemTray import QtQuick -import QtQuick.Effects MouseArea { id: root required property SystemTrayItem modelData - required property color colour acceptedButtons: Qt.LeftButton | Qt.RightButton implicitWidth: Appearance.font.size.small * 2 @@ -36,7 +34,6 @@ MouseArea { IconImage { id: icon - visible: !BarConfig.tray.recolourIcons source: { let icon = root.modelData.icon; if (icon.includes("?path=")) { @@ -48,15 +45,4 @@ MouseArea { asynchronous: true anchors.fill: parent } - - Loader { - anchors.fill: icon - active: BarConfig.tray.recolourIcons - asynchronous: true - - sourceComponent: Colouriser { - source: icon - colorizationColor: root.colour - } - } } |