You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
517 B
23 lines
517 B
#!/bin/sh
|
|
|
|
#
|
|
# ~/.xinitrc
|
|
#
|
|
# Executed by startx (run your window manager from here)
|
|
#
|
|
|
|
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
|
|
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
|
|
DESKTOP_SESSION=gnome
|
|
|
|
DEFAULT_SESSION=i3
|
|
case $1 in
|
|
xfce) exec dbus-launch xfce4-session ;;
|
|
i3wm) exec dbus-launch i3 ;;
|
|
*) exec dbus-launch $DEFAULT_SESSION ;;
|
|
esac
|
|
|
|
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
|
|
# You probably need to do this too:
|
|
export GPG_AGENT_INFO SSH_AUTH_SOCK
|