source ~/.profile if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then doas mkdir -p /run/user doas chmod 777 /run/user XDG_RUNTIME_DIR="/run/user/$(id -u)" mkdir -p "$XDG_RUNTIME_DIR" chmod 700 "$XDG_RUNTIME_DIR" mkdir -p "$HOME/.local/share/river" log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log" exec env \ XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" \ XDG_CURRENT_DESKTOP=river \ XDG_SESSION_DESKTOP=river \ dbus-run-session river >"$log" 2>&1 fi source ~/.zshrc