summaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: 828ebb44734e482ad86c7105c65191e88f4276dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

. ~/.exports

eval "$(gpg-agent --daemon --enable-ssh-support)"

mkdir -p ~/.local/share/mpd/
mkdir -p ~/music/library/ ~/music/playlists/
mpd

startfluxbox

rm -f ~/.xsessionmanage
mkfifo -m 0600 ~/.xsessionmanage
while read action; do
	case "${action}" in
		'quit')
			break
			;;
	esac
done <~/.xsessionmanage
rm -f ~/.xsessionmanage