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