start nextcloud last

Amolith created

Change summary

dot_local/bin/executable_startup.tmpl | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

Detailed changes

dot_local/bin/executable_startup.tmpl 🔗

@@ -15,7 +15,6 @@ if [[ -n $matched ]]; then
 	hyprctl dispatch exec -- "xrdb -load ~/.Xresources"
 	hyprctl dispatch exec -- "xfsettingsd"
 	hyprctl dispatch exec -- "darkman get"
-	hyprctl dispatch exec -- "nextcloud"
 	hyprctl dispatch exec -- "dbus-update-activation-environment --all"
 	hyprctl dispatch exec -- "telegram-desktop"
 	{{- if eq .chezmoi.hostname "angmar" }}
@@ -23,6 +22,8 @@ if [[ -n $matched ]]; then
 	hyprctl dispatch exec -- "hydrus-client"
 	hyprctl dispatch exec -- "firefox-developer-edition"
 	{{- end }}
+	sleep 5
+	hyprctl dispatch exec -- "nextcloud"
 else
     # We're in i3 (X.org)
 	i3-msg exec "polybar top"
@@ -42,7 +43,6 @@ else
 	i3-msg exec "xrdb -load ~/.Xresources"
 	i3-msg exec "xfsettingsd"
 	i3-msg exec "darkman get"
-	i3-msg exec "nextcloud"
 	i3-msg exec "dbus-update-activation-environment --all"
 	{{- if eq .chezmoi.hostname "angmar" }}
 	i3-msg exec "caddy start --adapter caddyfile --config ~/Bulk/Media/Caddyfile"
@@ -57,6 +57,8 @@ else
 	xsetwacom set "Wacom Intuos BT S Pad pad" Button 1 "key del"
 	xsetwacom set "Wacom Intuos BT S Pad pad" Button 3 "key +ctrl z -ctrl"
 	xsetwacom set "Wacom Intuos BT S Pad pad" Button 8 "key +ctrl +shift z -shift -ctrl"
+	sleep 5
+	i3-msg exec "nextcloud"
 fi
 
 exit