2015-07-12 17:50:37 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
#
|
|
|
|
# ~/.xinitrc
|
|
|
|
#
|
|
|
|
# Executed by startx (run your window manager from here)
|
|
|
|
#
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
|
|
|
|
|
2015-07-12 17:50:37 +02:00
|
|
|
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
|
|
|
|
|
|
|
DEFAULT_SESSION=i3
|
|
|
|
case $1 in
|
|
|
|
xfce) exec dbus-launch xfce4-session ;;
|
|
|
|
i3) exec dbus-launch i3 ;;
|
|
|
|
*) exec dbus-launch $DEFAULT_SESSION ;;
|
|
|
|
esac
|
2015-07-12 20:59:47 +02:00
|
|
|
|