diff --git a/README.org b/README.org index a5cd7ef..16a31f4 100644 --- a/README.org +++ b/README.org @@ -18,6 +18,7 @@ Modes that have icons instead of names now: | 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]] | +| Ruby | [[https://raw.githubusercontent.com/rhoit/mode-icons/dump/icons/ruby.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]] | diff --git a/icons/ruby.xpm b/icons/ruby.xpm new file mode 100644 index 0000000..9ab73f3 --- /dev/null +++ b/icons/ruby.xpm @@ -0,0 +1,140 @@ +/* XPM */ +static char * ruby_xpm[] = { +"16 16 121 2", +" c None", +". c #F1D8D1", +"+ c #D2554C", +"@ c #D44B42", +"# c #EBB4B1", +"$ c #CF3634", +"% c #BA0600", +"& c #990300", +"* c #8D1512", +"= c #AE1411", +"- c #B60F00", +"; c #C01302", +"> c #C41806", +", c #DD6B5B", +"' c #CA9794", +") c #A20E01", +"! c #991008", +"~ c #8A0E06", +"{ c #7F2F2A", +"] c #E3BDB6", +"^ c #A90300", +"/ c #B21001", +"( c #BB1001", +"_ c #DB8073", +": c #E5736D", +"< c #95120B", +"[ c #7C0100", +"} c #DDB1AA", +"| c #A70D01", +"1 c #AE1100", +"2 c #DA837C", +"3 c #C11F11", +"4 c #BE1C0F", +"5 c #B91C13", +"6 c #7C0C09", +"7 c #6A0100", +"8 c #F3E8E7", +"9 c #9D0A02", +"0 c #A91201", +"a c #C75C57", +"b c #B31209", +"c c #AF1007", +"d c #A90B02", +"e c #AC0802", +"f c #8A0200", +"g c #9C0D01", +"h c #FFFFFF", +"i c #920100", +"j c #A20501", +"k c #9E0602", +"l c #910601", +"m c #800601", +"n c #92201B", +"o c #DCB8B6", +"p c #850601", +"q c #930901", +"r c #A20802", +"s c #F0C2BE", +"t c #EA8B84", +"u c #A61B15", +"v c #950600", +"w c #990601", +"x c #A93A36", +"y c #8A0600", +"z c #9A0E02", +"A c #A21B0F", +"B c #D03F38", +"C c #CF3D32", +"D c #B82922", +"E c #950100", +"F c #B65655", +"G c #E29D99", +"H c #CD3229", +"I c #9B140C", +"J c #800000", +"K c #BE8178", +"L c #C64D44", +"M c #B8170E", +"N c #850A04", +"O c #C77E7F", +"P c #E5978F", +"Q c #ECBAB7", +"R c #E8B1AB", +"S c #FFFFFE", +"T c #C26E71", +"U c #9B0B04", +"V c #AD0D05", +"W c #AE0B05", +"X c #8A1104", +"Y c #9C0D0A", +"Z c #AA0C05", +"` c #F1A09B", +" . c #E7867D", +".. c #EA7A75", +"+. c #A60615", +"@. c #A1110A", +"#. c #DD3E39", +"$. c #DD3A34", +"%. c #A2020E", +"&. c #990802", +"*. c #AC0A0E", +"=. c #911007", +"-. c #A10D0C", +";. c #CB2425", +">. c #BC1619", +",. c #9F070B", +"'. c #8D0601", +"). c #B40F13", +"!. c #C3161C", +"~. c #CD1A21", +"{. c #960D0C", +"]. c #9E0906", +"^. c #B51214", +"/. c #C61B21", +"(. c #D11D24", +"_. c #DD222B", +":. c #E72931", +"<. c #9A3530", +"[. c #A9524D", +"}. c #BA6C69", +"|. c #C48E89", +" ", +" . + @ # $ % & * ", +" = - ; > , ' ) ! ~ { ", +" ] ^ / - ( ; _ : @ < ~ [ ", +" } | 1 / - - % 2 3 4 5 6 7 ", +" 8 9 0 1 / / / a b b c d e 6 ", +" f g 0 1 1 1 d h i j k l m n ", +" o p q ) 0 0 r s t u v w l p x ", +" + < y q z A 2 B C D l y p E F ", +" G H I J K L M M M M y m N & O ", +" P Q R S T U V V W W m m X Y ", +" Z ` ...+.k w l q r p X X @. ", +" Y $ #.$.%.&.w l p m *.X X =. ", +" Y -.;.>.,.w '.y '.).!.~.=.N ", +" i {.*.+.].v y -.^./.(._.:.9 ", +" n y %.{.n <.[.}.|. "}; diff --git a/mode-icons.el b/mode-icons.el index 13057db..9c01521 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -51,7 +51,8 @@ absolute path to ICON." ("YASnippet" "yas" xpm) ("Image[imagemagick]" "svg" xpm) ("HTML" "html" xpm) - ("Org" "org" xpm)) + ("Org" "org" xpm) + ("Ruby" "ruby" xpm)) "Icons for major modes. Each specification is a list with the first element being the