summaryrefslogtreecommitdiff
path: root/.config/shell/profile
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-11-06 23:55:18 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-11-06 23:55:18 +0100
commit39464bdbeae838054f64394b436e243666011eb4 (patch)
treef590f417969158b432f68761485a6d6e311294da /.config/shell/profile
parent07117a25ce81885e685c1ca75aa60c37565a5ee9 (diff)
Update startx, add bm-dirs
Diffstat (limited to '.config/shell/profile')
-rwxr-xr-x.config/shell/profile11
1 files changed, 2 insertions, 9 deletions
diff --git a/.config/shell/profile b/.config/shell/profile
index e9d7b11..f33a58f 100755
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -9,12 +9,5 @@ unsetopt PROMPT_SP
. "$HOME/.config/shell/variables"
-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
+# 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"