Skip to content

Commit f997a1c

Browse files
authored
Update index.md
add more "last post" linking
1 parent 96d9a53 commit f997a1c

File tree

1 file changed

+3
-3
lines changed
  • content/posts/wsl-github-cli-windows-notifications-part-2

1 file changed

+3
-3
lines changed

content/posts/wsl-github-cli-windows-notifications-part-2/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tags:
1717

1818
In the [last post]({{< relref wsl-github-cli-windows-notifications-part-1.md >}}) we saw how to create a drop-in replacement for `notify-send`. This allowed us to take a script that used `notify-send` and run it without modification. In this post, we'll take a look at how we can update that script to take better advantage of Windows notifications.
1919

20-
At the end of the last post, the notification was fairly generic as shown below:
20+
At the end of that post, the notification was fairly generic as shown below:
2121

2222
![Notification with WSL Distro as category and "Run finished" as text](./notification-previous.png)
2323

@@ -30,7 +30,7 @@ If you just want to grab the scripts then [skip to the bottom](#show-me-the-scri
3030

3131
## Introducing toast
3232

33-
The `notify-send` replacement from the last post was built using the [go-toast/toast](https://github.com/go-toast/toast) golang package. That repo also includes a handy `toast` CLI. I've create a fork with an updated version that can be run from anywhere twithout displaying a console window and will be using that in this post (see [stuartleeks/toast](https://github.com/stuartleeks/toast)).
33+
The `notify-send` replacement from the [last post]({{< relref wsl-github-cli-windows-notifications-part-1.md >}}) was built using the [go-toast/toast](https://github.com/go-toast/toast) golang package. That repo also includes a handy `toast` CLI. I've create a fork with an updated version that can be run from anywhere twithout displaying a console window and will be using that in this post (see [stuartleeks/toast](https://github.com/stuartleeks/toast)).
3434

3535
As previously, I've downloaded `toast.exe` (grab the [latest release](https://github.com/stuartleeks/toast/releases/latest)), popped it in my Windows `PATH`. Then I add an alias so that I can call it without the `.exe` extension: `alias toast=toast.exe`.
3636

@@ -40,7 +40,7 @@ With this done, I can run `toast --app-id stuartleeks.com --title "Hello from WS
4040

4141
## Reworking `ghrun`
4242

43-
In the last post, we used the following `ghrun` alias to watch the GitHub workflow and send a notification:
43+
In the [last post]({{< relref wsl-github-cli-windows-notifications-part-1.md >}}), we used the following `ghrun` alias to watch the GitHub workflow and send a notification:
4444

4545
```bash
4646
alias ghrun="gh run list | grep \$(git branch --show-current) | cut -d$'\t' -f 8 | xargs gh run watch && notify-send 'Run finished'"

0 commit comments

Comments
 (0)