New-laptop readiness: firstrun.sh, --with-apps, DMS theme sync, guarded autostart, doctor checks

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-28 11:32:05 +05:00
co-authored by Claude Sonnet 5.5
parent a640b0d742
commit 9fbe6646be
7 changed files with 81 additions and 31 deletions
+3
View File
@@ -1,6 +1,9 @@
# DankMaterialShell: bar, launcher, control center, notifications (replaces waybar/swaync/rofi launcher)
exec_always sh -c 'pgrep -x dms >/dev/null || exec dms run'
# First login on a new machine: wallpaper + monitor layout (does nothing when already set up)
exec ~/.config/sway/firstrun.sh
# Hotkeys: $mod+d launcher, $mod+n control center, $mod+Shift+n notifications, $mod+Shift+p power menu (set in config / config.d)
bindsym --to-code $mod+Shift+v exec dms ipc call clipboard toggle
+5 -4
View File
@@ -1,4 +1,5 @@
# Autostart (xdg-autostart does not run under sway). Delayed so the DMS tray is ready; guarded against duplicates.
exec sh -c 'sleep 5; pgrep -f "[n]extcloud.*--background" >/dev/null || flatpak run com.nextcloud.desktopclient.nextcloud --background'
exec sh -c 'sleep 5; pgrep -f "[R]emmina.* -i" >/dev/null || flatpak run org.remmina.Remmina -i'
exec sh -c 'sleep 8; pgrep -x geary >/dev/null || geary --gapplication-service'
# Autostart (xdg-autostart does not run under sway). Delayed so the DMS tray is ready;
# guarded against duplicates and against apps that are not installed on this machine.
exec sh -c 'sleep 5; flatpak info com.nextcloud.desktopclient.nextcloud >/dev/null 2>&1 && ! pgrep -f "[n]extcloud.*--background" >/dev/null && flatpak run com.nextcloud.desktopclient.nextcloud --background'
exec sh -c 'sleep 5; flatpak info org.remmina.Remmina >/dev/null 2>&1 && ! pgrep -f "[R]emmina.* -i" >/dev/null && flatpak run org.remmina.Remmina -i'
exec sh -c 'sleep 8; command -v geary >/dev/null && ! pgrep -x geary >/dev/null && geary --gapplication-service'