color fixes for terms, more terms, font-choose fix
This commit is contained in:
parent
89447cd970
commit
ccae0c8240
11 changed files with 162 additions and 21 deletions
|
|
@ -3,18 +3,11 @@
|
|||
if [[ $1 == '-h' ]]; then
|
||||
echo Help: $0 fontsize tintcolor fadepercent fadecolor cursorcolor extrashit
|
||||
else
|
||||
|
||||
if [[ $1 == '-1' ]]; then
|
||||
SIZE=''
|
||||
else
|
||||
SIZE=$1
|
||||
fi
|
||||
|
||||
#TP="xft:TopazPlus a600a1200a4000-$SIZE"
|
||||
TP="xft:TopazPlus a600a1200a4000-$SIZE:antialias=false"
|
||||
PN="xft:P0T\-NOoDLE-$SIZE"
|
||||
MS="xft:mOsOul-$SIZE"
|
||||
MK="xft:Microknight-$SIZE"
|
||||
#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
|
||||
|
|
@ -24,18 +17,18 @@ fi
|
|||
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" $@
|
||||
-rv -tr -sb -sr -g 80x24 +is -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" $@
|
||||
-rv -tr -sb -sr -g 80x24 +is -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" $@
|
||||
-rv -tr -sb -sr -g 80x24 +is -tn "xterm-256color" $@
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue