summaryrefslogtreecommitdiff
path: root/X11/Xsession.d/01-local-lightdm-profile
blob: 7afb6a2b8a91827ae9f389efe26496a96f7fbc67 (plain)
  1. # load profile and xprofile when using lightdm
  2. #
  3. # borrowed from /etc/gdm3/Xsession
  4. if pidof lightdm; then
  5. # First read /etc/profile and .profile
  6. test -f /etc/profile && . /etc/profile
  7. test -f "$HOME/.profile" && . "$HOME/.profile"
  8. # Second read /etc/xprofile and .xprofile for X specific setup
  9. test -f /etc/xprofile && . /etc/xprofile
  10. test -f "$HOME/.xprofile" && . "$HOME/.xprofile"
  11. fi