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
|
layerrule=noanim:1,layer_name:^dms
|
||||||
windowrule=isfloating:1,appid:^com.danklinux.dms$
|
windowrule=isfloating:1,appid:^com.danklinux.dms$
|
||||||
|
windowrule=isfullscreen:1,title:^Install Phoebus OS$
|
||||||
|
|
||||||
# ===========================================================================
|
# ===========================================================================
|
||||||
# Standard DWM / DWL Keybindings
|
# Standard DWM / DWL Keybindings
|
||||||
|
|
@ -1286,6 +1287,7 @@ fi
|
||||||
if [ "${XDG_SESSION_TYPE:-}" = "wayland" ] || [ -n "${WAYLAND_DISPLAY:-}" ]; then
|
if [ "${XDG_SESSION_TYPE:-}" = "wayland" ] || [ -n "${WAYLAND_DISPLAY:-}" ]; then
|
||||||
if command -v quickshell >/dev/null 2>&1 \
|
if command -v quickshell >/dev/null 2>&1 \
|
||||||
&& [ -f /etc/xdg/quickshell/phoebus-install/shell.qml ]; then
|
&& [ -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
|
exec quickshell --no-duplicate -c phoebus-install
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -1083,6 +1083,7 @@ ShellRoot {
|
||||||
windowFocusTimer.start();
|
windowFocusTimer.start();
|
||||||
}
|
}
|
||||||
visible: true
|
visible: true
|
||||||
|
fullscreen: true
|
||||||
color: Theme.charcoal
|
color: Theme.charcoal
|
||||||
implicitWidth: 1024
|
implicitWidth: 1024
|
||||||
implicitHeight: 720
|
implicitHeight: 720
|
||||||
|
|
|
||||||
|
|
@ -194,8 +194,7 @@ ShellRoot {
|
||||||
focus: true
|
focus: true
|
||||||
activeFocusOnTab: true
|
activeFocusOnTab: true
|
||||||
onClicked: {
|
onClicked: {
|
||||||
shell.run(["/usr/local/bin/phoebus-install"]);
|
shell.run(["sh", "-c", "pkill -f 'quickshell.*phoebus-welcome' 2>/dev/null; exec /usr/local/bin/phoebus-install"]);
|
||||||
Qt.quit();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue