#!/bin/bash

# Display a warning message
zenity --question --text "The $NAPP_APP app wants to open the following content:\n\nxdg-open $@"

# Check if the user clicked "OK"
if [ $? -eq 0 ]; then
    echo "$@" > /tmp/napp-xdg-open.pipe
else
    echo "Action canceled by the user."
fi
