From c23cba37c319fa799f106e09ba8241797b88fb71 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 29 Apr 2024 17:35:26 +0300 Subject: [PATCH] sway.conf: add sleeps where I think they may be needed for credentials managing or whatever --- conf/sway/config.d/autostart-fineid.conf | 2 +- conf/sway/config.d/autostart-utilities.conf | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/conf/sway/config.d/autostart-fineid.conf b/conf/sway/config.d/autostart-fineid.conf index ff849613..c150a515 100644 --- a/conf/sway/config.d/autostart-fineid.conf +++ b/conf/sway/config.d/autostart-fineid.conf @@ -1,3 +1,3 @@ # Finnish identity cards https://dvv.fi/en/card-reader-software # Requires `sudo systemctl enable --now pcscd` (one time operation) -exec --no-startup-id DigiSignApplication +exec --no-startup-id sleep 15 && DigiSignApplication diff --git a/conf/sway/config.d/autostart-utilities.conf b/conf/sway/config.d/autostart-utilities.conf index f368b63a..517c1b90 100644 --- a/conf/sway/config.d/autostart-utilities.conf +++ b/conf/sway/config.d/autostart-utilities.conf @@ -18,7 +18,7 @@ exec --no-startup-id foot --title=htop htop # NetworkManager Applet. # Note: handle WiFi with iwd directly. Use this for ethernet or just 3G. -#exec --no-startup-id nm-applet --indicator +#exec --no-startup-id sleep 15 && nm-applet --indicator # Mullvad GUI/tray #exec --no-startup-id sh -c "/opt/Mullvad\ VPN/mullvad-gui" @@ -32,13 +32,13 @@ exec --no-startup-id foot --title=htop htop #exec --no-startup-id fcitx # KDE Connect daemon on Fedora -#exec --no-startup-id /usr/libexec/kdeconnectd +#exec --no-startup-id sleep 15 && /usr/libexec/kdeconnectd # Google Drive etc. sync client -exec --no-startup-id insync start +exec --no-startup-id sleep 15 && insync start # NextCloud client -#exec --no-startup-id nextcloud --background +#exec --no-startup-id sleep 15 && nextcloud --background # Artificial sleep here seems necessary workaround to avoid https://github.com/flathub/com.nextcloud.desktopclient.nextcloud/issues/76 exec --no-startup-id sleep 15 && flatpak run com.nextcloud.desktopclient.nextcloud --background @@ -49,7 +49,7 @@ exec --no-startup-id blueman-applet exec --no-startup-id flatpak run com.rafaelmardojai.Blanket # Syncthing GUI -exec --no-startup-id flatpak run me.kozec.syncthingtk --home ~/.config/syncthing --minimized +exec --no-startup-id sleep 15 && flatpak run me.kozec.syncthingtk --home ~/.config/syncthing --minimized # Feedreader -exec --no-startup-id flatpak run net.sourceforge.liferea --mainwindow-state=hidden +exec --no-startup-id sleep 15 && flatpak run net.sourceforge.liferea --mainwindow-state=hidden