mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Cleaner & bug free startx
This commit is contained in:
parent
7572627e85
commit
aa0f133167
@ -120,7 +120,7 @@ ex=🎯:\
|
||||
|
||||
if pacman -Qs libxft-bgra >/dev/null 2>&1; then
|
||||
# Start graphical server on tty1 if not already running.
|
||||
[ "$(tty)" = "/dev/tty1" ] && ! pidof Xorg >/dev/null 2>&1 && exec startx
|
||||
[ "$(fgconsole 2> /dev/null)" = 1 ] && exec startx
|
||||
else
|
||||
echo "\033[31mIMPORTANT\033[0m: Note that \033[32m\`libxft-bgra\`\033[0m must be installed for this build of dwm.
|
||||
Please run:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user