diff --git a/ntfy-notifications/Panel.qml b/ntfy-notifications/Panel.qml index 957eefcaf..21b5a77cc 100644 --- a/ntfy-notifications/Panel.qml +++ b/ntfy-notifications/Panel.qml @@ -4,6 +4,7 @@ import QtQuick.Layouts import qs.Commons import qs.Services.UI import qs.Widgets +import Quickshell Item { id: root @@ -388,6 +389,13 @@ Item { wrapMode: Text.Wrap Layout.fillWidth: true opacity: messageItem.itemOpacity + + TapHandler { + onTapped: { + Quickshell.execDetached(["wl-copy", modelData.message.trim()]) + pluginApi.withCurrentScreen(s => pluginApi.closePanel(s)) + } + } } // Tags (if present)