feat(gui): close welcome on launch and enforce installer fullscreen
This commit is contained in:
parent
9eaa844423
commit
86c477085c
3 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1083,6 +1083,7 @@ ShellRoot {
|
|||
windowFocusTimer.start();
|
||||
}
|
||||
visible: true
|
||||
fullscreen: true
|
||||
color: Theme.charcoal
|
||||
implicitWidth: 1024
|
||||
implicitHeight: 720
|
||||
|
|
|
|||
|
|
@ -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"]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue