#!/bin/sh
export XKB_DEFAULT_OPTIONS=caps:escape
export XDG_DESTOP_DIR="$HOME"
export XDG_DOWNLOAD_DIR="$HOME/downloads"
export XDG_DOCUMENTS_DIR="$HOME/documents"
export XDG_MUSIC_DIR="$HOME/music"
export XDG_PICTURES_DIR="$HOME/pictures"
export XDG_VIDEOS_DIR="$HOME/videos"
export XDG_CURRENT_DIR=sway

if [ -z "$XDG_RUNTIME_DIR" ]
then
	mkdir -p /tmp/runtime/michael
	chmod 700 /tmp/runtime/michael
	export XDG_RUNTIME_DIR=/tmp/runtime/michael
fi

exec dbus-run-session sway