Loads of stuff which has changed or needed updating.

This commit is contained in:
Sir Not Appearing In This Name 2015-11-12 21:59:21 +02:00
parent ba10801e76
commit 21ba84fcd4
13 changed files with 137 additions and 146 deletions

View file

@ -1,12 +1,11 @@
#!/bin/bash
# this may not work any longer with the way that arch has
# redone the fc-list bit, if that's the case and you feel
# like fixing it, fix it...
#!/bin/zsh
# now uses a list I have made of available fonts that work well
PICK=`fc-list | sort |dmenu -i -l 25 -fn mOsOul -p Font`
if [ "$PICK" ]; then
FONT=`echo $PICK | cut -d: -f2`
echo st -f \"$FONT:pixelsize=16:antialias=false:autohint=false\"
st -f "$FONT:pixelsize=16:antialias=false:autohint=false"
PICK=`cat ~/bin/shellfonts.list |dmenu -i -l 25 -fn "ProggySquareTTSZ" -p "ST: Pick Font"`
SIZE=`echo 16,12,14,10,9,8,72 | sed s/,/\\\n/g | dmenu -p Size -fn mOsOul-16 -sb orange -sf navy`
if [[ $PICK ]]; then
FONT=$PICK:pixelsize="$SIZE":antialias=false:autohint=false
echo st -f $FONT
st -f $FONT
fi