From d0eaf1a1d1889b7c222076643cd654b001287583 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 16 Apr 2024 08:46:20 +0300 Subject: [PATCH] sway/nordvpn: include service and socket --- conf/sway/config.d/autostart-nordvpn.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/sway/config.d/autostart-nordvpn.conf b/conf/sway/config.d/autostart-nordvpn.conf index 00af68c8..02a8e321 100644 --- a/conf/sway/config.d/autostart-nordvpn.conf +++ b/conf/sway/config.d/autostart-nordvpn.conf @@ -1,3 +1,5 @@ -exec --no-startup-id sleep 15 && foot --title=nordvpn nordvpn connect p2p +exec --no-startup-id foot --title=nordvpnd.socket sudo systemctl start nordvpnd.socket +exec --no-startup-id foot --title=nordvpn.service sleep 5 && sudo systemctl start nordvpnd.service +exec --no-startup-id sleep 15 && foot --title=nordvpn\ connect nordvpn connect p2p exec --no-startup-id foot --title=nordvpnd\ log journalctl -u nordvpnd -f exec --no-startup-id foot --title=nordvpn\ status watch 'nordvpn status'