Sway: Autostart applications concurrently with other startup tasks

This commit is contained in:
theanonymousexyz 2022-04-09 14:25:25 +02:00
parent bdfae723c3
commit a20585d849
No known key found for this signature in database
GPG key ID: 35EE09F5481049BB
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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