From 9b76fe9815ae18a4805b229bcca59e0d12e0f02a Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Mon, 30 Aug 2021 10:41:10 -0600 Subject: [PATCH] Use ohmyksh for loading fonts --- .xsession | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.xsession b/.xsession index a85f256..9468233 100755 --- a/.xsession +++ b/.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 &