aboutsummaryrefslogtreecommitdiffstats
path: root/dot_xinitrc
blob: b71166d62d09e997c7af339c534f6f339b3b3e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# xinitrc runs automatically when you run startx.

# There are some small but important commands that need to be run when we start
# the graphical environment. I keep those commands in ~/.xprofile because that
# file is run automatically if someone uses a display manager (login screen)
# and so they are needed there. To prevent doubling up commands, I source them
# here with the line below.

# Load X session environment
[ -f "$HOME/.xprofile" ] && . "$HOME/.xprofile"

# Start i3 with a D-Bus session
exec dbus-run-session -- i3