Use ohmyksh for loading fonts
This commit is contained in:
parent
736d37a2a8
commit
9b76fe9815
11
.xsession
11
.xsession
@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
export OHMYKSH_DIR=${HOME}/src/ohmyksh
|
||||
. ${OHMYKSH_DIR}/ohmy.ksh
|
||||
|
||||
mv ~/.cache ~/.tcache && \
|
||||
mkdir ~/.cache
|
||||
@ -29,13 +31,8 @@ if [ $OS != "OpenBSD" ]; then
|
||||
LPREFIX=/usr
|
||||
fi
|
||||
|
||||
xset -b &
|
||||
xset +fp ~/.fonts
|
||||
xset +fp ~/.local/share/fonts/
|
||||
for font in /usr/local/share/fonts/*; do
|
||||
xset +fp "${font}"
|
||||
done
|
||||
xset fp rehash
|
||||
load_extension fonts
|
||||
which keychain 2>&1 > /dev/null && load_extension keychain
|
||||
|
||||
xrdb -merge -load ~/.Xresources &
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user