diff --git a/.config/quickshell/ii/modules/bar/weather/WeatherBar.qml b/.config/quickshell/ii/modules/bar/weather/WeatherBar.qml index 63fd1f5d4..13c3ef7fe 100644 --- a/.config/quickshell/ii/modules/bar/weather/WeatherBar.qml +++ b/.config/quickshell/ii/modules/bar/weather/WeatherBar.qml @@ -2,6 +2,7 @@ pragma ComponentBehavior: Bound import qs.modules.common import qs.modules.common.widgets import qs.services +import qs import Quickshell import QtQuick import QtQuick.Layouts @@ -15,6 +16,15 @@ MouseArea { hoverEnabled: true + onClicked: { + Weather.getData(); + Quickshell.execDetached(["notify-send", + Translation.tr("Weather"), + Translation.tr("Refreshing (manually triggered)") + , "-a", "Shell" + ]) + } + RowLayout { id: rowLayout anchors.centerIn: parent