summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar rho2015-12-22 09:02:09 +0545
committerGravatar rho2015-12-22 12:15:52 +0545
commit1bbf5883fedac94382a797ba37fc700d8f04d659 (patch)
tree7331a1a05f7282b615a26a5bc39e8ce65ab8ee8f
parentaf7ae0e9badb67f4632d7ef84a416eb82370ec9c (diff)
downloadmode-icons-1bbf5883fedac94382a797ba37fc700d8f04d659.tar.gz
mode-icons-1bbf5883fedac94382a797ba37fc700d8f04d659.zip
testing xpm render
-rw-r--r--README.org24
-rw-r--r--icons/bash.2.xpm59
2 files changed, 74 insertions, 9 deletions
diff --git a/README.org b/README.org
index 36d2c87..a5cd7ef 100644
--- a/README.org
+++ b/README.org
@@ -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
diff --git a/icons/bash.2.xpm b/icons/bash.2.xpm
new file mode 100644
index 0000000..2bd3ff3
--- /dev/null
+++ b/icons/bash.2.xpm
@@ -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"
+};