.xsession 823 B

1234567891011121314151617181920212223242526272829
  1. # If you want to export variables on the X session, then edit this file.
  2. # prefer UTF-8 whenever possible
  3. export LC_CTYPE="en_US.UTF-8"
  4. # use UTF-8 everywhere
  5. export LANG=en_US.UTF-8
  6. # set your background color
  7. xsetroot -solid dimgray
  8. # lock the screen after 5 minutes of inactivity
  9. xidle -delay 5 -sw -program "/usr/X11R6/bin/xlock -mode flag" \
  10. -timeout 300 &
  11. # add "doom" command to path & let polybar execute scripts
  12. PATH=$PATH:$HOME/.config/emacs/bin:$HOME/.config/polybar
  13. export PATH
  14. # start a dbus session, which I believe gpg needs to for graphical pinentry
  15. # I found this command in /usr/local/share/doc/pkg-readmes/dbus
  16. #if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then
  17. # eval `dbus-launch --sh-syntax --exit-with-x11`
  18. #fi
  19. # exec startxfce4
  20. exec i3