summaryrefslogtreecommitdiffstats
path: root/.xinitrc
blob: 18f21407badcf2d447c74559911202a42202cdf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh

. ~/.exports

eval "$(gpg-agent --daemon --enable-ssh-support)"
export $(gnome-keyring-daemon --start)

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

/usr/sbin/anacron -t "${HOME}/.config/anacron/anacrontab" \
	-S "${HOME}/.local/share/anacron/"

xmodmap "${HOME}/.Xmodmap"
export GTK_IM_MODULE='xim'
export QT_IM_MODULE='xim'

xscreensaver &
dpmsmouse 'Logitech USB-PS/2 Optical Mouse' &

startfluxbox

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