Source

dotfiles / dot.xsessionrc

Full commit
# -*- mode: shell-script -*-
# ~/.xsessionrc: sourced by Xsession

. ~/.profile

if [ -z "$STARTUP" ]; then
    STARTUP=x-session-manager
fi

if [ -x "$HOME/bin/emacs-daemon-launch" ] && \
    ( which emacs && which emacsclient && emacs --help | grep -- --daemon ) \
    > /dev/null; then
    STARTUP="$HOME/bin/emacs-daemon-launch $STARTUP"
fi

if [ -x "$HOME/bin/autocommit-config-launch" ]; then
    STARTUP="$HOME/bin/autocommit-config-launch $STARTUP"
fi