How do I make the dunstify notification appear automatically when turning on the network
Using the Ubuntu system, after creating a file /etc/NetworkManager/dispatcher.d/02-upnet that is automatically executed when connecting to the network. In this file, the file /etc/NetworkManager/dispatcher.d/send_notification.sh is invoked: