summaryrefslogtreecommitdiff
path: root/README.md
blob: c6805a4042e09344812eabfbf401985447efa323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# osc-notify

This is a [Tabby](https://github.com/Eugeny/tabby) plugin. It creates a system
notification when an OSC 9 escape code sequence is printed. OSC 9 is in this
format:

```sh
OSC 9 ; [message] ST
```

Clicking the notification brings Tabby to the front and switches to the exact
tab/pane that emitted the sequence. The notification title reflects the tab's
current title at the time the sequence is received.

### Example commands

```sh
# creates a notification that says 'hello'
printf "\033]9;hello\a"
# for tmux, use the passthrough escape sequence. allow-passthrough should be
# enabled
printf "\033Ptmux;\033\x1b]9;hello\x07\033\\"
```