diff --git a/.config/quickshell/modules/sidebarLeft/BooruImage.qml b/.config/quickshell/modules/sidebarLeft/BooruImage.qml index 7d5297791..8442754e9 100644 --- a/.config/quickshell/modules/sidebarLeft/BooruImage.qml +++ b/.config/quickshell/modules/sidebarLeft/BooruImage.qml @@ -4,6 +4,7 @@ import "root:/modules/common/widgets" import QtQuick import QtQuick.Controls import QtQuick.Layouts +import Quickshell.Hyprland import Qt5Compat.GraphicalEffects Button { @@ -15,6 +16,10 @@ Button { PointingHandInteraction {} + onClicked: { + Hyprland.dispatch(`exec xdg-open ${imageData.source}`) + } + background: Rectangle { implicitWidth: imageData.width implicitHeight: imageData.height