From 86c477085c04fc3564655b245d7c63f514e260ce Mon Sep 17 00:00:00 2001 From: Phoebus Date: Wed, 23 Sep 2026 03:12:54 -0700 Subject: [PATCH] feat(gui): close welcome on launch and enforce installer fullscreen --- installer-rs/crates/phoebus-core/src/system.rs | 2 ++ installer/live/desktop/phoebus-install/shell.qml | 1 + installer/live/desktop/phoebus-welcome/shell.qml | 3 +-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/installer-rs/crates/phoebus-core/src/system.rs b/installer-rs/crates/phoebus-core/src/system.rs index 881e54a..56992cf 100644 --- a/installer-rs/crates/phoebus-core/src/system.rs +++ b/installer-rs/crates/phoebus-core/src/system.rs @@ -929,6 +929,7 @@ tagrule=id:9,layout_name:tile layerrule=noanim:1,layer_name:^dms windowrule=isfloating:1,appid:^com.danklinux.dms$ +windowrule=isfullscreen:1,title:^Install Phoebus OS$ # =========================================================================== # Standard DWM / DWL Keybindings @@ -1286,6 +1287,7 @@ fi if [ "${XDG_SESSION_TYPE:-}" = "wayland" ] || [ -n "${WAYLAND_DISPLAY:-}" ]; then if command -v quickshell >/dev/null 2>&1 \ && [ -f /etc/xdg/quickshell/phoebus-install/shell.qml ]; then + pkill -f "quickshell.*phoebus-welcome" 2>/dev/null || true exec quickshell --no-duplicate -c phoebus-install fi fi diff --git a/installer/live/desktop/phoebus-install/shell.qml b/installer/live/desktop/phoebus-install/shell.qml index 572f4fc..3cbd133 100644 --- a/installer/live/desktop/phoebus-install/shell.qml +++ b/installer/live/desktop/phoebus-install/shell.qml @@ -1083,6 +1083,7 @@ ShellRoot { windowFocusTimer.start(); } visible: true + fullscreen: true color: Theme.charcoal implicitWidth: 1024 implicitHeight: 720 diff --git a/installer/live/desktop/phoebus-welcome/shell.qml b/installer/live/desktop/phoebus-welcome/shell.qml index 41483c3..3484b61 100644 --- a/installer/live/desktop/phoebus-welcome/shell.qml +++ b/installer/live/desktop/phoebus-welcome/shell.qml @@ -194,8 +194,7 @@ ShellRoot { focus: true activeFocusOnTab: true onClicked: { - shell.run(["/usr/local/bin/phoebus-install"]); - Qt.quit(); + shell.run(["sh", "-c", "pkill -f 'quickshell.*phoebus-welcome' 2>/dev/null; exec /usr/local/bin/phoebus-install"]); } }