2021-07-14 13:08:47 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# xinitrc runs automatically when startx is ran
|
|
|
|
|
|
|
|
# There are some important commands that need to be executed when we start
|
|
|
|
# the graphical environment. There is a link to this file in ~/.xprofile
|
|
|
|
# because that file is ran 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.
|
|
|
|
|
|
|
|
if [ -f "${XDG_CONFIG_HOME:-$HOME/config}/x11/xprofile" ]; then
|
|
|
|
source "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile"
|
|
|
|
else
|
|
|
|
source "$HOME/.xprofile"
|
|
|
|
fi
|
|
|
|
|
2021-08-15 23:45:44 +00:00
|
|
|
exec xmonad
|
2021-08-03 23:36:04 +00:00
|
|
|
# Launch xmonad with dbus
|
2021-08-15 23:45:44 +00:00
|
|
|
#exec dbus-launch --sh-syntax --exit-with-session xmonad
|
2021-07-14 13:08:47 +00:00
|
|
|
|