#!/bin/sh

#. "$HOME/.profile"

export PATH="$HOME/.local/bin:$PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/.local/lib"

userresources=$HOME/.Xresources
sysresources=/etc/X11/xinit/.Xresources

if [ -f $sysresources ]; then
  xrdb -merge $sysresources
fi

if [ -f "$userresources" ]; then
  xrdb -merge "$userresources"
fi

clipmenud &
pipewire &
pipewire-pulse &
( sleep 3 && exec wireplumber )&
exec dbus-run-session herbstluftwm
