diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2022-07-19 17:04:17 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2022-07-19 17:04:17 -0400 |
| commit | 8f2810ac20c942f784d0cae1d11812d6ce51c308 (patch) | |
| tree | e2f43a26a779f046d51c43bb03c4f2cf94dadb55 /.config/shell/profile | |
| parent | 2a34af646c7c8698a3a6f1d35e8160fffb51e2a2 (diff) | |
| download | eibhear-8f2810ac20c942f784d0cae1d11812d6ce51c308.tar.gz eibhear-8f2810ac20c942f784d0cae1d11812d6ce51c308.tar.zst eibhear-8f2810ac20c942f784d0cae1d11812d6ce51c308.zip | |
samedir now sd, libxft-bgra message removed
Diffstat (limited to '.config/shell/profile')
| -rw-r--r-- | .config/shell/profile | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/.config/shell/profile b/.config/shell/profile index 9515179..62d5e79 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -140,17 +140,7 @@ ex=🎯:\ *.java=♨:\ " -[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && shortcuts >/dev/null 2>&1 & - -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" -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-git\033[0m -and replace \`libxft\`. Afterwards, you may start the graphical server by running \`startx\`." -fi +[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && setsid shortcuts >/dev/null 2>&1 # 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 |
