BOS opts in to bakery's system prefix so desktop apps live on @ and ride snapper/grub-btrfs snapshots. The builder home stays ~/.local; build-local.sh copies bins, share/data, and user units onto the image. Per-user installed.json and the index cache stay in skel. Recovery is still grub-btrfs, not snapper rollback.
19 lines
819 B
Bash
19 lines
819 B
Bash
#!/bin/bash
|
|
# BOS graphical session launcher, run by greetd on the INSTALLED system after
|
|
# the user authenticates (see /etc/greetd/config.toml).
|
|
#
|
|
# greetd does not start a login shell, so /etc/profile.d is never sourced.
|
|
# Bakery desktop apps live in /usr/local/bin (already on Arch PATH). Source
|
|
# the login profile here so ~/.local/bin (per-user tools) is also on PATH,
|
|
# set the Wayland session hints, then hand off to Hyprland.
|
|
#
|
|
# Launched via start-hyprland (ships with the hyprland package) rather than the
|
|
# raw Hyprland binary — Hyprland upstream no longer recommends exec'ing it
|
|
# directly; start-hyprland wraps it in a watchdog process that also gives us
|
|
# crash recovery for free.
|
|
source /etc/profile 2>/dev/null
|
|
|
|
export XDG_SESSION_TYPE=wayland
|
|
export XDG_CURRENT_DESKTOP=Hyprland
|
|
|
|
exec start-hyprland
|