diff --git a/config/sway/scripts/nextinit b/config/sway/scripts/nextinit new file mode 100644 index 000000000..edbebb6ba --- /dev/null +++ b/config/sway/scripts/nextinit @@ -0,0 +1,7 @@ +#!/bin/bash + +while [[ "$(top -bn1 | grep -m 1 -o waybar)" = "" ]]; do + sleep 1 +done + +sleep 1 && flatpak run com.nextcloud.desktopclient.nextcloud --background > /dev/null 2>&1