6 lines
216 B
Bash
Executable file
6 lines
216 B
Bash
Executable file
#!/bin/sh
|
|
|
|
ivpn connect -last \
|
|
&& notify-send -u low "IVPN" "Successfully reconnected to IVPN server:\n$(ivpn status | sed -n 2p | xargs)" \
|
|
|| notify-send -u critical "IVPN" "Failed to reconnect to IVPN\!"
|