dotfiles/.config/x11/xinitrc

21 lines
619 B
Plaintext
Raw Normal View History

2023-10-12 15:12:12 +02:00
#!/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. There is a link to this file 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.
if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then
. "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile"
else
. "$HOME/.xprofile"
fi
rm -f /tmp/killdwm
until [ -f /tmp/killdwm ]; do
dwm
done