foot/doc
Daniel Eklöf 21cc68d49e
osc: implement urxvt’s “OSC 777;notify”
OSC 777 is URxvt’s generic escape to send commands to its perl
extensions. The first parameter is the name of the extension, followed
by its arguments.

OSC 777;notify is a, if not well established, at least a fairly well
known escape sequence to request a (desktop) notification. The syntax
is:

  \e]777;notify;<title>;<body>\e\\

Neither title nor body is escaped in any way, meaning they should not
contain a ‘;’.

Foot will split title from body at the *first* ‘;’. Any remaining ‘;’
characters are treated as part of ‘body’.

Instead of adding built-in support for the freedesktop notification
specification (which would require us to link against at least dbus),
add a new config option to foot.ini: ‘notify’.

This option specifies the command to execute when a notification is
received. ‘${title}’ and ‘${body}’ can be used anywhere, in any
combination, and as many times as you want, in any of the command
arguments.

The default value is ‘notify-send -a foot -i foot ${title} ${body}’
2020-12-09 20:54:51 +01:00
..
benchmark.md doc: benchmark: workstation numbers for 1.5.0 2020-10-09 21:17:38 +02:00
foot.1.scd doc: foot.1: add IRC channel 2020-11-27 22:39:33 +01:00
foot.ini.5.scd osc: implement urxvt’s “OSC 777;notify” 2020-12-09 20:54:51 +01:00
footclient.1.scd foot/footclient: add short options to all command line options 2020-11-23 19:19:19 +01:00
meson.build Revert "meson: add -Dwith-docs=disabled|enabled|auto" 2020-09-24 16:44:26 +02:00
sixel-wow.png README: add screenshot of sixel graphics 2020-02-22 22:04:28 +01:00