A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/stuartleeks/wsl-notify-send below:

stuartleeks/wsl-notify-send: WSL replacement for 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.

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 "${@}"; }

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4