Instead of modifying the argument to protect against shell expansion, you can avoid shell expansion by passing the argument via an environment variable: /def -mregexp -F -t"(. says, .)" notify_say = \ /setenv WORLD=$[world_info()]%; \ /setenv ARG=%P1%; \ /sys notify-send "$$WORLD" "$$ARG" On 2021-06-06 2:04 PM, Yaro Kasear wrote: I am trying to allow triggers to send text to notify-send in Linux. I have tried a couple of different trigger /defs that have sort of worked but not cleanly. My first /def...