diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-11-22 10:53:48 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-11-22 10:53:48 +0100 |
commit | b3bd9ff5c9ad4cb7c785f5a56ce4d3f3208e23d7 (patch) | |
tree | 956a70f735d8c261580289fdd378435fac22ed40 /programs/zsh | |
parent | 9f4077d3579b9837fff78b8f36661c7abc41cd10 (diff) | |
download | dots-b3bd9ff5c9ad4cb7c785f5a56ce4d3f3208e23d7.tar.gz dots-b3bd9ff5c9ad4cb7c785f5a56ce4d3f3208e23d7.zip |
Update
Diffstat (limited to 'programs/zsh')
-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 |