diff options
Diffstat (limited to 'programs/zsh/zprofile')
-rw-r--r-- | programs/zsh/zprofile | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/programs/zsh/zprofile b/programs/zsh/zprofile index 38288a1..244bedb 100644 --- a/programs/zsh/zprofile +++ b/programs/zsh/zprofile @@ -136,15 +136,7 @@ LOCATION="Poznan" [ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shortcutrc ] && shortcuts >/dev/null 2>&1 & -#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 &> $HOME/.Xoutput -#else -# echo "\033[31mIMPORTANT\033[0m: Note that \033[32m\`libxft-bgra\`\033[0m must be installed for this build of dwm. -#Please run: -# \033[32myay -S libxft-bgra\033[0m -#and replace \`libxft\`" -#fi +[ "$(tty)" = "/dev/tty1" ] && ! pidof Xorg >/dev/null 2>&1 && exec startx # Switch escape and caps if tty and no passwd required: # sudo -n loadkeys ${XDG_DATA_HOME:-$HOME/.local/share}/larbs/ttymaps.kmap 2>/dev/null |