dotfiles/sway/.config/sway/autostart.sh
2022-01-08 21:59:42 +01:00

10 lines
295 B
Bash
Executable file

#!/bin/dash
sleep 1
ivpn connect -ipv6tunnel -p wg -fastest -filter_invert dk \
&& notify-send -u low "IVPN" "Successfully connected to IVPN server:\n$(ivpn status | sed -n 2p | xargs)" \
|| notify-send -u critical "IVPN" "Failed to connect to IVPN\!"
sway-launcher-desktop autostart