#!/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