samedir now sd, libxft-bgra message removed
This commit is contained in:
parent
2a34af646c
commit
8f2810ac20
3 changed files with 3 additions and 11 deletions
|
@ -11,6 +11,8 @@ for command in mount umount sv pacman updatedb su shutdown poweroff reboot ; do
|
||||||
alias $command="sudo $command"
|
alias $command="sudo $command"
|
||||||
done; unset command
|
done; unset command
|
||||||
|
|
||||||
|
se() { cd ~/.local/bin; $EDITOR $(fzf) ;}
|
||||||
|
|
||||||
# Verbosity and settings that you pretty much just always are going to want.
|
# Verbosity and settings that you pretty much just always are going to want.
|
||||||
alias \
|
alias \
|
||||||
cp="cp -iv" \
|
cp="cp -iv" \
|
||||||
|
|
|
@ -140,17 +140,7 @@ ex=🎯:\
|
||||||
*.java=♨:\
|
*.java=♨:\
|
||||||
"
|
"
|
||||||
|
|
||||||
[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && shortcuts >/dev/null 2>&1 &
|
[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && setsid 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
|
|
||||||
|
|
||||||
# Switch escape and caps if tty and no passwd required:
|
# 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
|
sudo -n loadkeys ${XDG_DATA_HOME:-$HOME/.local/share}/larbs/ttymaps.kmap 2>/dev/null
|
||||||
|
|
Loading…
Reference in a new issue