myhome/.local/bin/notify-program

5 lines
154 B
Plaintext
Raw Normal View History

#!/bin/bash
KERNEL=$(uname -sr)
[[ $KERNEL =~ "Microsoft" ]] && $HOME/.local/bin/wsl-notify "$@"
[[ $KERNEL =~ "gentoo" ]] && /usr/bin/notify-send "$@"