diff options
| -rw-r--r-- | doc/foot.ini.5.scd | 42 | ||||
| -rw-r--r-- | foot.ini | 5 |
2 files changed, 34 insertions, 13 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 66daaea9..ce733b77 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -730,19 +730,35 @@ xdgtoken=95ebdfe56e4f47ddb5bba9d7dc3a2c35 - the user triggered the first custom action, "1" Default: _notify-send++ - --wait++ - --app-name ${app-id}++ - --icon ${app-id}++ - --category ${category}++ - --urgency ${urgency}++ - --expire-time ${expire-time}++ - --hint STRING:image-path:${icon}++ - --hint BOOLEAN:suppress-sound:${muted}++ - --hint STRING:sound-name:${sound-name}++ - --replace-id ${replace-id}++ - ${action-argument}++ - --print-id++ - -- ${title} ${body}_. + --wait++ + --app-name ${app-id}++ + --icon ${app-id}++ + --category ${category}++ + --urgency ${urgency}++ + --expire-time ${expire-time}++ + --hint STRING:image-path:${icon}++ + --hint BOOLEAN:suppress-sound:${muted}++ + --hint STRING:sound-name:${sound-name}++ + --replace-id ${replace-id}++ + ${action-argument}++ + --print-id++ + -- ${title} ${body}_. + + Alternative: **fyi** example configuration: _fyi++ + --wait++ + --app-name ${app-id}++ + --icon ${app-id}++ + --category ${category}++ + --urgency ${urgency}++ + --expire-time ${expire-time}++ + --hint string:image-path:${icon}++ + --hint boolean:suppress-sound:${muted}++ + --hint string:sound-name:${sound-name}++ + --replaces ${replace-id}++ + ${action-argument}++ + --print-token++ + -- ${title} ${body}_. + *command-action-argument* String to use with *command* to enable passing action/button names @@ -57,8 +57,13 @@ # command-focused=no [desktop-notifications] +# The default: # command=notify-send --wait --app-name ${app-id} --icon ${app-id} --category ${category} --urgency ${urgency} --expire-time ${expire-time} --hint STRING:image-path:${icon} --hint BOOLEAN:suppress-sound:${muted} --hint STRING:sound-name:${sound-name} --replace-id ${replace-id} ${action-argument} --print-id -- ${title} ${body} # command-action-argument=--action ${action-name}=${action-label} + +# Or, using fyi: +# command=fyi --wait --app-name ${app-id} --icon ${app-id} --category ${category} --urgency ${urgency} --expire-time ${expire-time} --hint string:image-path:${icon} --hint boolean:suppress-sound:${muted} --hint string:sound-name:${sound-name} --replaces ${replace-id} ${action-argument} --print-token -- ${title} ${body} +# command-action-argument=--action ${action-name}:${action-label} # close="" # inhibit-when-focused=yes |
