updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / colortheme / colortheme.patch
blob6204c0c6ce5bb7c126256536237031e62f89e450
1 diff --git a/colortheme b/colortheme
2 index b954d8a..c27da6f 100644
3 --- a/colortheme
4 +++ b/colortheme
5 @@ -4,7 +4,15 @@
6 # Modified by Aaron Griffin
7 # and further by Kazuo Teramoto
10 +case "${1}" in
11 +#help
12 + *h|*help)
13 + echo "uses unicode version as default"
14 + echo "\"${0} -a\" ascii version"
15 + echo "\"${0} -u\" unicode version"
16 + ;;
17 +#ascii version
18 + *a|*ascii)
19 FGNAMES=(' black ' ' red ' ' green ' ' yellow' ' blue ' 'magenta' ' cyan ' ' white ')
20 BGNAMES=('DFT' 'BLK' 'RED' 'GRN' 'YEL' 'BLU' 'MAG' 'CYN' 'WHT')
21 echo " .--------------------------------------------------------------------------."
22 @@ -31,13 +39,9 @@ for b in $(seq 0 8); do
24 done
25 echo " '--------------------------------------------------------------------------'"
26 -#!/bin/bash
27 -# Original: http://frexx.de/xterm-256-notes/
28 -# http://frexx.de/xterm-256-notes/data/colortable16.sh
29 -# Modified by Aaron Griffin
30 -# and further by Kazuo Teramoto
33 + ;;
34 +#unicode version
35 + *u|*unicode|*)
36 FGNAMES=(' black ' ' red ' ' green ' ' yellow' ' blue ' 'magenta' ' cyan ' ' white ')
37 BGNAMES=('DFT' 'BLK' 'RED' 'GRN' 'YEL' 'BLU' 'MAG' 'CYN' 'WHT')
38 echo " ┌──────────────────────────────────────────────────────────────────────────┐"
39 @@ -64,3 +68,5 @@ for b in $(seq 0 8); do
41 done
42 echo " └──────────────────────────────────────────────────────────────────────────┘"
43 + ;;
44 +esac