xinitrc (559B)
1 #!/bin/sh 2 3 # xinitrc runs automatically when you run startx. 4 5 # There are some small but important commands that need to be run when we start 6 # the graphical environment. There is a link to this file in ~/.xprofile 7 # because that file is run automatically if someone uses a display manager 8 # (login screen) and so they are needed there. To prevent doubling up commands, 9 # I source them here with the line below. 10 11 if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then 12 . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" 13 else 14 . "$HOME/.xprofile" 15 fi