startx alias

This commit is contained in:
Luke Smith
2021-03-07 15:40:43 -05:00
parent 75d860939b
commit deecc42707
3 changed files with 7 additions and 3 deletions

View File

@@ -142,7 +142,7 @@ ex=🎯:\
if pacman -Qs libxft-bgra >/dev/null 2>&1; then
# Start graphical server on user's current tty if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx $XINITRC
[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"
else
echo "\033[31mIMPORTANT\033[0m: Note that \033[32m\`libxft-bgra\`\033[0m must be installed for this build of dwm.
Please run: