about summary refs log tree commit diff
path: root/alpine-river/profile
blob: 49fd884d2c2fc2c773f7f9e9e9af2bd4df35c833 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export XDG_SESSION_TYPE=wayland
export XDG_CURRENT_DESKTOP=river
export LIBSEAT_BACKEND=seatd

# Setup XDG_RUNTIME_DIR
if [ -z "$XDG_RUNTIME_DIR" ]; then
  XDG_RUNTIME_DIR="/tmp/$(id -u)-runtime-dir"

  mkdir -pm 0700 "$XDG_RUNTIME_DIR"
  export XDG_RUNTIME_DIR
fi

# Start River
if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then
  exec dbus-run-session river > ~/.river.log 2>&1
fi
. "$HOME/.cargo/env"