testing xpm render

This commit is contained in:
rho 2015-12-22 09:02:09 +05:45
parent af7ae0e9ba
commit 1bbf5883fe
2 changed files with 74 additions and 9 deletions

View file

@ -8,15 +8,21 @@ Show icons instead of mode names in emacs.
Modes that have icons instead of names now:
- Emacs-Lisp
- Python
- Scheme
- Lisp
- PHP
- HTML
- CSS
- JS
- SVG
| Modes | icon |
|------------+--------------------------------------------------------------------------|
| CSS | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/css.png]] |
| Emacs-Lisp | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/emacs.png]] |
| HTML | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/html.png]] |
| JS | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/js.png]] |
| Lisp | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/cl.png]] |
| Org-mode | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/org.png]] |
| PHP | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/php.png]] |
| Python | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/python.png]] |
| SVG | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/svg.png]] |
| Scheme | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/scheme.png]] |
| Shell | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/bash.png]] |
* Installation

59
icons/bash.2.xpm Normal file
View file

@ -0,0 +1,59 @@
/* XPM */
static char *bash[] = {
/* columns rows colors chars-per-pixel */
"16 16 37 1 ",
" c black",
". c #010101",
"X c gray1",
"o c #040404",
"O c gray2",
"+ c #060606",
"@ c #070707",
"# c gray3",
"$ c #090909",
"% c #0B0B0B",
"& c #131313",
"* c #151515",
"= c gray9",
"- c gray16",
"; c gray18",
": c #313131",
"> c #ACACAC",
", c #C0C0C0",
"< c gray76",
"1 c #C3C3C3",
"2 c gray77",
"3 c gray79",
"4 c #CCCCCC",
"5 c gray81",
"6 c #D8D8D8",
"7 c gray85",
"8 c gainsboro",
"9 c #E2E2E2",
"0 c gray90",
"q c #E6E6E6",
"w c #E7E7E7",
"e c #F1F1F1",
"r c #F5F5F5",
"t c gray97",
"y c #FDFDFD",
"u c #FFFFFF",
"i c None",
/* pixels */
"iiiiiiiiiiiiiiii",
"iiiiiiiiiiiiiiii",
" ",
" 6e*+eq ;e, ",
" qu=@ur :u4 ",
" 3yuuyyuuy9 :u4 ",
" 4uuuuuuuu0 :u4 ",
" XOquuuurOo :u4 ",
" #%wuuuur%$ ;r1 ",
" 4uuuuuuuu0 ",
" 2tuuttuut8 .$@ ",
" qu=@ur :u4 ",
" <7&O75 -7> ",
" ",
"iiiiiiiiiiiiiiii",
"iiiiiiiiiiiiiiii"
};