From b3bd9ff5c9ad4cb7c785f5a56ce4d3f3208e23d7 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 22 Nov 2020 10:53:48 +0100 Subject: Update --- programs/zsh/zprofile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'programs/zsh') 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 -- cgit 1.4.1