Backport of the notification click-command hardening (PR #7926, merged to
quattro as 43bfe9b9) onto the v4-0-1 release branch. Click actions are argv
vectors run without a shell, omarchy-notification-send calls the Notify D-Bus
method directly via busctl instead of notify-send, and --exec takes the command
as rest-of-line words. Excludes docs/notifications.md, which does not exist on
v4-0-1.
8 lines
280 B
Bash
8 lines
280 B
Bash
#!/bin/bash
|
|
|
|
# This hook is called with the snake-cased name of the font that has just been set.
|
|
# To put it into use, remove .sample from this file name.
|
|
|
|
# Example: Show the name of the font that was just set.
|
|
# omarchy-notification-send -u low "New font" "Your new font is $1"
|