From 22ef5154a6931e8ca29045495a84581c6db96cd9 Mon Sep 17 00:00:00 2001 From: Lian Drake Date: Sun, 8 Sep 2024 13:50:13 -0400 Subject: [PATCH] Create nextinit --- config/sway/scripts/nextinit | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 config/sway/scripts/nextinit 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