initial commit...

This commit is contained in:
Jerry Tumsfeld 2012-11-18 18:49:48 +02:00
commit d190b6b63e
6 changed files with 92 additions and 0 deletions

14
README Normal file
View file

@ -0,0 +1,14 @@
Stuff.
Stuff I use, which I continue to update
* and then have to recreate on another box
* or have to copy from the work box
* or all sorts of similar loss of time/debugging.
DMG's fonts are here also ( http://www.trueschool.se )
my "randterm" and "amigaterm2" term scripts (urxvt)
my awesome configstuffs (nothing huge, 3 edits or so)
and as I add stuff I may comment...

2
amigaterm.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
~/bin/amigaterm2.sh 12 navy 80 orange green $@

34
amigaterm2.sh Executable file
View file

@ -0,0 +1,34 @@
#!/bin/bash
# help shit
if [[ $1 == '-h' ]]; then
echo Help: $0 fontsize tintcolor fadepercent fadecolor cursorcolor extrashit
else
#TP="xft:TopazPlus a600a1200a4000-$1"
TP="xft:TopazPlus a600a1200a4000-$1:antialias=false"
PN="xft:P0T\-NOoDLE-$1"
MS="xft:mOsOul-$1"
MK="xft:Microknight-$1"
TINTCOLOR=$2
FADEPERCENT=$3
FADECOLOR=$4
CURSORCOLOR=$5
# get rid of these arguments so we can do the rest at the end
shift 5
echo urxvtc -fn "$TP" -fi "$PN" -fb "$MS" -fbi "$MK" \
-tint "$TINTCOLOR" -fade "$FADEPERCENT" \
-fadecolor "$FADECOLOR" -cr "$CURSORCOLOR" \
-rv -tr -sb -sr -g 80x24 -tn "xterm-256color" $@
urxvtc -fn "$TP" -fi "$PN" -fb "$MS" -fbi "$MK" \
-tint "$TINTCOLOR" -fade "$FADEPERCENT" \
-fadecolor "$FADECOLOR" -cr "$CURSORCOLOR" \
-rv -tr -sb -sr -g 80x24 -tn "xterm-256color" $@
if [[ $? != 0 ]]; then
urxvtd -f -o
urxvtc -fn "$TP" -fi "$PN" -fb "$MS" -fbi "$MK" \
-tint "$TINTCOLOR" -fade "$FADEPERCENT" \
-fadecolor "$FADECOLOR" -cr "$CURSORCOLOR" \
-rv -tr -sb -sr -g 80x24 -tn "xterm-256color" $@
fi
fi

26
pickfontterm.sh Executable file
View file

@ -0,0 +1,26 @@
#!/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...
PICK=`fc-list | dmenu -i -l 25 -fn mOsOul -p Font`
if [ "$PICK" ]; then
FONT=`echo $PICK | sed -e "/^.*/s/^/xft:/"| sed -e "s/\:sty.*//"`
COLORS=('dodgerblue' 'chartreuse' 'aliceblue' 'forestgreen' 'burlywood' 'dark goldenrod' 'indian red' 'firebrick' 'Gainsboro' 'Misty Rose' 'Peach Puff' 'Seashell' 'Slate Gray' 'Tan' 'Tomato')
DACOLN=$(( $RANDOM % ${#COLORS} ))
FADECOLN=$(( $RANDOM % ${#COLORS} ))
DACOL=${COLORS[$DACOLN]}
FADECOLOR=${COLORS[$FADECOLN]}
DAFADE=$(( $RANDOM % 25 ))
DAFADE=$(( $DAFADE + 25 ))
#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 ----
urxvt -bc -rv -tr -sb +sr -g 80x42 -tint "$DACOL" -fade "$DAFADE" -fadecolor "$FADECOLOR" -tn xterm-256color -cr green -fn "$FONT"
fi

16
randterm.sh Executable file
View file

@ -0,0 +1,16 @@
#!/bin/sh
COLORS=("dodgerblue" "chartreuse" "aliceblue" "forestgreen" "burlywood" "dark goldenrod" "indian red" "firebrick" "Gainsboro" "Misty Rose" "Peach Puff" "Seashell" "Slate Gray" "Tan" "Tomato")
DACOLN=$(( $RANDOM % ${#COLORS} ))
DACOL=${COLORS[$DACOLN]}
DAFADE=$(( 25 + ($RANDOM % 25 ) ))
DAFADEN=$(( $RANDOM % ${#COLORS} ))
DAFCOL=${COLORS[$DAFADEN]}
DASHP=$(( $RANDOM % 25 ))
DASHP=$(( $DASHP + 10 ))
#DAFADE=$(( $DAFADE + 50 ))
#Help: /home/andrew/bin//amigaterm2.sh fontsize tintcolor fadepercent fadecolor cursorcolor extrashit
amigaterm2.sh 12 "$DACOL" "$DAFADE" "$DAFCOL" green -sh "$DASHP" "$@"

BIN
t!s-af10.zip Normal file

Binary file not shown.