diff --git a/.config/quickshell/ii/modules/bar/SysTrayItem.qml b/.config/quickshell/ii/modules/bar/SysTrayItem.qml index d95a74ae..85a0884a 100644 --- a/.config/quickshell/ii/modules/bar/SysTrayItem.qml +++ b/.config/quickshell/ii/modules/bar/SysTrayItem.qml @@ -34,8 +34,8 @@ MouseArea { menu: root.item.menu anchor.window: bar - anchor.rect.x: root.x + (Config.options.bar.vertical ? 0 : bar.width) - anchor.rect.y: root.y + (Config.options.bar.vertical ? bar.height : 0) + anchor.rect.x: root.x + (Config.options.bar.vertical ? 0 : bar?.width) + anchor.rect.y: root.y + (Config.options.bar.vertical ? bar?.height : 0) anchor.rect.height: root.height anchor.rect.width: root.width anchor.edges: Config.options.bar.bottom ? (Edges.Top | Edges.Left) : (Edges.Bottom | Edges.Right) diff --git a/.config/quickshell/ii/modules/verticalBar/VerticalBar.qml b/.config/quickshell/ii/modules/verticalBar/VerticalBar.qml index 2f6aa6de..3a734e94 100644 --- a/.config/quickshell/ii/modules/verticalBar/VerticalBar.qml +++ b/.config/quickshell/ii/modules/verticalBar/VerticalBar.qml @@ -1,4 +1,3 @@ -import "./weather" import QtQuick import QtQuick.Layouts import Quickshell diff --git a/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml b/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml index feaa5d9c..42e71026 100644 --- a/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml +++ b/.config/quickshell/ii/modules/verticalBar/VerticalBarContent.qml @@ -1,4 +1,3 @@ -import "./weather" import QtQuick import QtQuick.Layouts import Quickshell