mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
booru image click to open sourcee
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user