6 lines
223 B
Bash
Executable File
6 lines
223 B
Bash
Executable File
#!/bin/bash
|
|
KERNEL=$(uname -sr)
|
|
[[ $KERNEL =~ "icrosoft" ]] && $HOME/.local/bin/wsl-notify "$@"
|
|
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"
|
|
[[ $KERNEL =~ "Darwin" ]] && osascript -e "display notification \"$*\""
|