Sway: Autostart applications concurrently with other startup tasks
This commit is contained in:
parent
bdfae723c3
commit
a20585d849
|
@ -5,5 +5,3 @@ sleep 1
|
||||||
ivpn connect -ipv6tunnel -p wg -fastest -filter_invert dk \
|
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 low "IVPN" "Successfully connected to IVPN server:\n$(ivpn status | sed -n 2p | xargs)" \
|
||||||
|| notify-send -u critical "IVPN" "Failed to connect to IVPN\!"
|
|| notify-send -u critical "IVPN" "Failed to connect to IVPN\!"
|
||||||
|
|
||||||
sway-launcher-desktop autostart
|
|
||||||
|
|
|
@ -18,3 +18,6 @@ exec swayidle -w \
|
||||||
|
|
||||||
# Custom script for VPN connection before XDG autostart applications
|
# Custom script for VPN connection before XDG autostart applications
|
||||||
exec ~/.config/sway/autostart.sh
|
exec ~/.config/sway/autostart.sh
|
||||||
|
|
||||||
|
# Autostart applications
|
||||||
|
exec sway-launcher-desktop autostart
|
||||||
|
|
Loading…
Reference in a new issue