This repository has been archived on 2021-04-14. You can view files and clone it, but cannot push or open issues/pull-requests.
bare-dotfiles/bin/toast.sh

9 lines
271 B
Bash
Raw Normal View History

2019-08-06 13:04:46 -04:00
#!/bin/bash
# must install BurntToast in PowerShell in Windows as Administrator
# Install-Module -Name BurntToast
SCRIPT="
Import-Module BurntToast ;
New-BurntToastNotification -text '$1', '$2'
"
echo $SCRIPT | powershell.exe -ExecutionPolicy Unrestricted -Command -