From a20585d84932445590e44158fcabb042e0b0920d Mon Sep 17 00:00:00 2001 From: theanonymousexyz Date: Sat, 9 Apr 2022 14:25:25 +0200 Subject: [PATCH] Sway: Autostart applications concurrently with other startup tasks --- sway/.config/sway/autostart.sh | 2 -- sway/.config/sway/config.d/10_autoexec | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sway/.config/sway/autostart.sh b/sway/.config/sway/autostart.sh index f3a384a..aa85c2a 100755 --- a/sway/.config/sway/autostart.sh +++ b/sway/.config/sway/autostart.sh @@ -5,5 +5,3 @@ 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 diff --git a/sway/.config/sway/config.d/10_autoexec b/sway/.config/sway/config.d/10_autoexec index b482689..9e3eaa6 100644 --- a/sway/.config/sway/config.d/10_autoexec +++ b/sway/.config/sway/config.d/10_autoexec @@ -18,3 +18,6 @@ exec swayidle -w \ # Custom script for VPN connection before XDG autostart applications exec ~/.config/sway/autostart.sh + +# Autostart applications +exec sway-launcher-desktop autostart