#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-or-later
# The compositor calls this once per session, after Wayland is ready.
dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE \
    HYPRLAND_INSTANCE_SIGNATURE XCURSOR_THEME XCURSOR_SIZE
systemctl --user start meowven-hyprland-session.target
systemctl --user start hyprpolkitagent.service
systemctl --user start pipewire.socket pipewire-pulse.socket wireplumber.service
meowven-wallpaper &
mako &
waybar &
# A passwordless live account must not be trapped behind a password prompt.
if [ ! -d /run/archiso/bootmnt ]; then
    hypridle &
fi
