wns
github.com/stuartleeks/wsl-notify-send
go get github.com/stuartleeks/wsl-notify-send
wns

github.com/stuartleeks/wsl-notify-send

WSL replacement for notify-send

by Stuart Leeks

v0.1.871612270 (see all)License:MIT
go get github.com/stuartleeks/wsl-notify-send
Readme

wsl-notify-send

wsl-notify-send provides a Windows executable that is intended to be a replacement for the Linux notify-send utility.

wsl-notify-send is implemented using go-toast/toast and if you have control over the script calling notify-send, you will find that the toast CLI gives you more control over the notifications. Also checkout the stuartleeks/toast fork which includes a change to hide the console window when the app runs.

Installation

Download wsl-notify-send

Create the notify-send helper

In WSL, create a notify-send function that calls wsl-notify-send:

notify-send() { wsl-notify-send.exe --category $WSL_DISTRO_NAME "${@}"; }

Testing

In WSL, run notify-send "Hello from WSL" and you should see a Windows toast notification!

GitHub Stars

11

LAST COMMIT

1yr ago

MAINTAINERS

0

CONTRIBUTORS

1

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
v0.1.871612271-0.20210526062531-8c965de1086e
9mos ago
v0.1.870726336
9mos ago
v0.1.871612270
9mos ago
No alternatives found
No tutorials found
Add a tutorial