exec rm -r ~/.cache/wal/ &
exec wal -n -i ~/pix/wallpapers/wallpaper &
exec feh --no-fehbg --bg-fill ~/pix/wallpapers/wallpaper &
exec xrdb ~/.cache/wal/colors.Xresources &
exec slstatus &
exec picom -CG --config ~/.config/picom.conf &
exec xrandr --auto --output HDMI1 --mode 1024x768 --right-of eDP1 &
#exec flameshot &
#exec greenclip daemon &
#exec /usr/lib/kdeconnectd &
#exec dunst
exec xmodmap ~/.config/Xmodmap &
exec mpd &
source ~/.config/env &
exec xss-lock -- /usr/bin/slock &
exec keynav &
exec light -S 100 &
umask 002 &
eval $(keychain --eval --quiet id_ed25519)
exec dstartup &
exec xephyr-helper &
no-hdmi-port.sh && with-hdmi-port.sh &
exec xhost +si:localuser:"$USER" &
exec unclutter &
# relaunch DWM if the binary changes, otherwise bail
csum=""
new_csum=$(sha1sum $(which dwm))
while true
do
    if [ "$csum" != "$new_csum" ]
    then
        csum=$new_csum
        dbus-launch dwm
    else
        exit 0
    fi
    new_csum=$(sha1sum $(which dwm))
    sleep 0.5
done
