From f6293286d4e107dedf3b3c3f8af2b0780776240b Mon Sep 17 00:00:00 2001 From: Andrew Holland Date: Sat, 16 Sep 2017 01:57:39 +0300 Subject: [PATCH] cleanup, did NOT bournify (random) --- pickfontterm.sh | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pickfontterm.sh b/pickfontterm.sh index c83e470..32e2e69 100755 --- a/pickfontterm.sh +++ b/pickfontterm.sh @@ -1,7 +1,4 @@ #!/bin/zsh -# 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... PICK=`fc-list | sort |dmenu -i -l 25 -fn mOsOul -p Font` SIZE=`echo 10,12,14,16,9,8,72 | sed s/,/\\\n/g | dmenu -p Size -fn mOsOul-16 -sb orange -sf navy` @@ -16,15 +13,10 @@ if [ "$PICK" ]; then DAFADE=$(( $RANDOM % 25 )) DAFADE=$(( $DAFADE + 25 )) DASHADE=$(( $RANDOM % 50 )) -# DASHADE=$(( $DAFADE + 75 )) -#echo $DACOL : $DAFADE -# amigaterm2.sh fontsize tintcolor fadepercent fadecolor cursorcolor extrashit -#echo ---- -#echo urxvt -bc -rv -tr -sb +sr -g 80x42 -tint $TINTCOLOR -fade $DAFADE -fadecolor $FADECOLOR -tn xterm-256color -cr green -fn $FONT -# echo \ urxvtc -bc -rv -tr -sb +sr -g 80x42 -tint "$DACOL" -fade "$DAFADE" \ - -fadecolor "$FADECOLOR" -tn xterm-256color -cr green -sh "$DASHADE" \ - -fn "$FONT-$SIZE" + -fadecolor "$FADECOLOR" -tn xterm-256color -cr green -sh "$DASHADE" \ + -fn "$FONT-$SIZE" + # you should check for the error code and rerun if urxvtd is not running. fi