aboutsummaryrefslogtreecommitdiff
path: root/x/xsessionrc
blob: 8d46ed0b97586a15e1104fabf10804cf1b9a6e85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# X startup commands go in here if they should run on every X session, whether
# classic `startx` or a modern DE like LightDM.  xsessionrc is a dpkg-specific
# file.
#

# If $ENV isn't set, then this X startup process wasn't started from somewhere
# beneath a login shell that sources ~/.profile to set up environment variables
# yet, most likely because it's being opened by a display manager, so we'll do
# it here.
#
if [ -z "$ENV" ] ; then
    . "$HOME"/.profile
fi

# Update BROWSER, since .profile has already set this to a curses browser
# shellcheck disable=SC2034
BROWSER=x-www-browser